diff options
author | Christopher Faylor <me@cgf.cx> | 2002-12-21 04:38:12 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-12-21 04:38:12 +0000 |
commit | b18962e228dc5a9b4729acd79078fca1389f2ba7 (patch) | |
tree | c82f7b51122c3992c5e643cf39e8a6e53bc5715f /winsup/cygwin/fhandler_termios.cc | |
parent | 4753d27c08a083096da1f6ef571e0496621a7b86 (diff) | |
download | newlib-b18962e228dc5a9b4729acd79078fca1389f2ba7.zip newlib-b18962e228dc5a9b4729acd79078fca1389f2ba7.tar.gz newlib-b18962e228dc5a9b4729acd79078fca1389f2ba7.tar.bz2 |
* fhandler.h (line_edit_status): Reorganize so that tests for error condition
can be < or >.
* fhandler_tty.cc (fhandler_pty_master::write): Don't return after sending a
signal.
* fhandler_termios.cc (fhandler_termios::line_edit): Trivial change to use
built-in bool types.
Diffstat (limited to 'winsup/cygwin/fhandler_termios.cc')
-rw-r--r-- | winsup/cygwin/fhandler_termios.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_termios.cc b/winsup/cygwin/fhandler_termios.cc index 9cd2561..2a14db3 100644 --- a/winsup/cygwin/fhandler_termios.cc +++ b/winsup/cygwin/fhandler_termios.cc @@ -192,7 +192,7 @@ fhandler_termios::line_edit (const char *rptr, int nread, int always_accept) line_edit_status ret = line_edit_ok; char c; int input_done = 0; - bool sawsig = FALSE; + bool sawsig = false; int iscanon = tc->ti.c_lflag & ICANON; while (nread-- > 0) @@ -239,7 +239,7 @@ fhandler_termios::line_edit (const char *rptr, int nread, int always_accept) eat_readahead (-1); tc->kill_pgrp (sig); tc->ti.c_lflag &= ~FLUSHO; - sawsig = 1; + sawsig = true; goto restart_output; } not_a_sig: |