* exceptions.cc (ctrl_c_handler): Send SIGHUP when events occur only if there
is a tty associated with the process. Send SIGHUP on CTRL_LOGOFF_EVENT. * fhandler_tty.cc (fhandler_tty_slave::open): Adjust console open handle counter regardless of whether this is a pty or tty. (fhandler_tty_slave::open): Ditto. (fhandler_tty_slave::dup): Ditto. (fhandler_tty_common::set_close_on_exec): Ditto. (fhandler_tty_master::init_console): Decrement console open handle counter after init since it will now be handled by all tty open. * syscalls.cc (setsid): Rework debugging output slightly.
This commit is contained in:
@@ -1391,7 +1391,7 @@ static char special_chars[] =
|
||||
"I" "J" "K" "L" "M" "N" "O" "P"
|
||||
"Q" "R" "S" "T" "U" "V" "W" "X"
|
||||
"Y" "Z";
|
||||
static char special_introducers[] =
|
||||
static char special_introducers[] =
|
||||
"anpcl";
|
||||
|
||||
static char
|
||||
@@ -1434,7 +1434,7 @@ special_name (const char *s, int inc = 1)
|
||||
}
|
||||
|
||||
bool
|
||||
fnunmunge (char *dst, const char *src)
|
||||
fnunmunge (char *dst, const char *src)
|
||||
{
|
||||
bool converted = false;
|
||||
char c;
|
||||
|
Reference in New Issue
Block a user