diff options
Diffstat (limited to 'shell/shell_common.c')
-rw-r--r-- | shell/shell_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/shell_common.c b/shell/shell_common.c index 98d862744..549b17ca1 100644 --- a/shell/shell_common.c +++ b/shell/shell_common.c | |||
@@ -143,7 +143,7 @@ shell_builtin_read(void FAST_FUNC (*setvar)(const char *name, const char *val), | |||
143 | // Setting it to more than 1 breaks poll(): | 143 | // Setting it to more than 1 breaks poll(): |
144 | // it blocks even if there's data. !?? | 144 | // it blocks even if there's data. !?? |
145 | //tty.c_cc[VMIN] = nchars < 256 ? nchars : 255; | 145 | //tty.c_cc[VMIN] = nchars < 256 ? nchars : 255; |
146 | /* reads would block only if < 1 char is available */ | 146 | /* reads will block only if < 1 char is available */ |
147 | tty.c_cc[VMIN] = 1; | 147 | tty.c_cc[VMIN] = 1; |
148 | /* no timeout (reads block forever) */ | 148 | /* no timeout (reads block forever) */ |
149 | tty.c_cc[VTIME] = 0; | 149 | tty.c_cc[VTIME] = 0; |