* fhandler_tty.cc (fhandler_tty_slave::init): Revert 2001-06-16 change.
* fork.cc (fork_copy): Print more debugging info. (fork_parent): Change order of arguments to accomdate buggy gcc. (fork): Ditto. * syscalls.cc (_unlink): Reorganize to try harder to delete file with DeleteFile and to recover more gracefully if FILE_FLAG_DELETE_ON_CLOSE doesn't work properly.
This commit is contained in:
@ -574,7 +574,7 @@ fhandler_tty_slave::init (HANDLE, DWORD a, mode_t)
|
||||
if (a == (GENERIC_READ | GENERIC_WRITE))
|
||||
mode = O_RDWR;
|
||||
|
||||
open (0, mode | O_NOCTTY);
|
||||
open (0, mode);
|
||||
}
|
||||
|
||||
int
|
||||
|
Reference in New Issue
Block a user