From 91c5d9d4f4e1a3cc85db15ebce9caa0c45cb7f7f Mon Sep 17 00:00:00 2001 From: wyfcyx Date: Fri, 2 Dec 2022 16:07:25 +0000 Subject: [PATCH] deploy: e8bb2e3afab1158ffac0243ef899bf69e11363a2 --- ch7/src/os/fs/stdio.rs.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ch7/src/os/fs/stdio.rs.html b/ch7/src/os/fs/stdio.rs.html index ab0486f5..c5f3a5d6 100644 --- a/ch7/src/os/fs/stdio.rs.html +++ b/ch7/src/os/fs/stdio.rs.html @@ -85,12 +85,12 @@ if c == 0 { suspend_current_and_run_next(); continue; - } else if c == 3 { - // 3 is ctrl_c - //println!("[K] os/fs/stdio/read: Got Ctrl_C"); - current_add_signal(SignalFlags::SIGINT); - break; - } else { + }/* else if c == 3 { + // 3 is ctrl_c + //println!("[K] os/fs/stdio/read: Got Ctrl_C"); + current_add_signal(SignalFlags::SIGINT); + break; + }*/ else { break; } }