* fhandler_tty.cc (fhandler_tty_slave::open): Use requested flag

values also when copying fhandler from archetype.
This commit is contained in:
Corinna Vinschen 2004-07-22 20:39:08 +00:00
parent 7b313f6fc8
commit 0544d11637
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-07-22 Corinna Vinschen <corinna@vinschen.de>
* fhandler_tty.cc (fhandler_tty_slave::open): Use requested flag
values also when copying fhandler from archetype.
2004-07-22 Christopher Faylor <cgf@timesys.com>
* pinfo.cc (pinfo::init): Print handle in hex when MapViewOfFile fails.

View File

@ -456,6 +456,7 @@ fhandler_tty_slave::open (int flags, mode_t)
{
*this = *(fhandler_tty_slave *) arch;
termios_printf ("copied tty fhandler archetype");
set_flags ((flags & ~O_TEXT) | O_BINARY);
cygheap->open_fhs++;
goto out;
}