* fhandler.h (fhandler_console): Remove tcsetpgrp.
* fhandler_console.cc (fhandler_console::tcsetpgrp): Eliminate. * fork.cc (fork_parent): Avoid returning same pid twice in a row regardless of OS. * pinfo.cc (pinfo::init): Rename create argument to flags and treat it as such. * signal.cc (set_sigcatchers): New function. (signal): Use set_sigcatchers to increment or decrement sigcatcher tracker. (sigaction): Ditto. Add debugging output. * spawn.cc (spawn_guts): Always quote first argv[0] argument when it's a COMSPEC shell.
This commit is contained in:
@ -293,9 +293,6 @@ fhandler_termios::line_edit (const char *rptr, int nread, int always_accept)
|
||||
if (!iscanon || always_accept)
|
||||
set_input_done (ralen > 0);
|
||||
|
||||
/* FIXME: It's not clear that this code will ever do anything.
|
||||
Currently, it doesn't look like accept_input will ever return
|
||||
a negative number. */
|
||||
if (input_done)
|
||||
(void) accept_input ();
|
||||
|
||||
|
Reference in New Issue
Block a user