* fhandler_tty.cc (fhandler_tty_common::dup): Preserve O_NOCTTY when duping a
filehandle.
This commit is contained in:
parent
cbedbdd029
commit
49a8c92ca3
|
@ -1,3 +1,8 @@
|
||||||
|
Sun May 13 14:02:36 2001 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
|
* fhandler_tty.cc (fhandler_tty_common::dup): Preserve O_NOCTTY when
|
||||||
|
duping a filehandle.
|
||||||
|
|
||||||
Sat May 12 18:19:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
Sat May 12 18:19:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* dir.cc (rmdir): Rearrange slightly to allow removing directories
|
* dir.cc (rmdir): Rearrange slightly to allow removing directories
|
||||||
|
|
|
@ -783,7 +783,7 @@ fhandler_tty_common::dup (fhandler_base *child)
|
||||||
fts->tcinit (get_ttyp ());
|
fts->tcinit (get_ttyp ());
|
||||||
|
|
||||||
attach_tty (ttynum);
|
attach_tty (ttynum);
|
||||||
tc->set_ctty (ttynum, openflags & ~O_NOCTTY);
|
tc->set_ctty (ttynum, openflags);
|
||||||
|
|
||||||
HANDLE nh;
|
HANDLE nh;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue