* fhandler_termios.cc (fhandler_termios::line_edit): Don't accept input when a
signal is sent or we'll end up in an EOF/signal race.
This commit is contained in:
parent
ed4c976cf2
commit
ddca580f9a
|
@ -1,3 +1,8 @@
|
|||
Fri Mar 16 21:13:23 2001 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* fhandler_termios.cc (fhandler_termios::line_edit): Don't accept input
|
||||
when a signal is sent or we'll end up in an EOF/signal race.
|
||||
|
||||
Fri Mar 16 20:25:40 2001 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* path.cc: Translate scan states from defines to enums.
|
||||
|
|
|
@ -299,11 +299,8 @@ fhandler_termios::line_edit (const char *rptr, int nread, int always_accept)
|
|||
set_input_done (ralen > 0);
|
||||
|
||||
if (sawsig)
|
||||
{
|
||||
// tc->write_error = EINTR;
|
||||
input_done = -1;
|
||||
}
|
||||
if (input_done)
|
||||
else if (input_done)
|
||||
(void) accept_input ();
|
||||
|
||||
return input_done;
|
||||
|
|
Loading…
Reference in New Issue