* fhandler_termios.cc (fhandler_termios::line_edit): Don't do special character

handling when stopped by CTRL-S.
* fhandler_tty.cc (bytes_available): Add arguments to debug_only_printf call.
* sigproc.cc (proc_subproc): Simplify some if logic.
This commit is contained in:
Christopher Faylor
2012-11-08 17:27:00 +00:00
parent 61746d6ae8
commit aaa812cbd0
4 changed files with 30 additions and 24 deletions

View File

@@ -247,9 +247,7 @@ proc_subproc (DWORD what, DWORD val)
case PROC_WAIT:
wval->ev = NULL; // Don't know event flag yet
if (wval->pid == -1 || !wval->pid)
child = NULL; // Not looking for a specific pid
else if (!mychild (wval->pid))
if (wval->pid != -1 && wval->pid && !mychild (wval->pid))
goto out; // invalid pid. flag no such child
wval->status = 0; // Don't know status yet