* exceptions.cc (try_to_debug): Fix off-by-one problem when resetting
environment variable after error_start detected. * fhandler_tty_slave.cc (fhandler_tty_slave::close): Clarify debug message. * syscalls.cc (setsid): Don't increment usecount here, since it will be automatically decremented on close.
This commit is contained in:
@ -620,7 +620,7 @@ fhandler_tty_slave::close ()
|
||||
if (archetype->usecount < 0)
|
||||
system_printf ("usecount %d", archetype->usecount);
|
||||
#endif
|
||||
termios_printf ("just exiting because archetype usecount is > 0");
|
||||
termios_printf ("just returning because archetype usecount is > 0");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user