* dtable.cc (dtable::stdio_init): Always initialize console when we have one.

* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Use a better method to
print tty name for debugging.
(fhandler_termios::bg_check): Ditto.
* pinfo.cc (_pinfo::set_ctty): Remove leftover debugging stuff.  Simplify
behavior when setting tty's sid and pgid to avoid overwriting previously set
values.
* spawn.cc (ch_spawn): Cosmetic change.
This commit is contained in:
Christopher Faylor
2012-01-08 06:24:17 +00:00
parent 04243e461d
commit a345dc55f9
5 changed files with 32 additions and 33 deletions

View File

@ -269,7 +269,7 @@ do_cleanup (void *args)
# undef cleanup
}
NO_COPY child_info_spawn ch_spawn;
child_info_spawn NO_COPY ch_spawn;
int
child_info_spawn::worker (const char *prog_arg, const char *const *argv,