* exceptions.cc (sig_handle_tty_stop): Reset PID_STOPPED if not actually

stopping.
* fhandler_console.cc (fhandler_console::fixup_after_fork): Don't set
controlling terminal if just inheriting a handle.
(fhandler_console::fixup_after_exec): Ditto.
* fhandler_tty.cc (fhandler_tty_slave::init): Ditto.
* signal.cc (kill_worker): Set appropriate errno if proc_exists determines that
process does not really exist.
This commit is contained in:
Christopher Faylor
2001-06-16 17:09:19 +00:00
parent 947ab99ee9
commit 99a5bd2fab
6 changed files with 25 additions and 8 deletions

View File

@@ -2987,8 +2987,7 @@ getwd (char *buf)
}
/* chdir: POSIX 5.2.1.1 */
extern "C"
int
extern "C" int
chdir (const char *in_dir)
{
int dir_error = check_null_empty_path (in_dir);