* fhandler_tty.cc (fhandler_tty_slave::open): Use requested flag
values also when copying fhandler from archetype.
This commit is contained in:
parent
7b313f6fc8
commit
0544d11637
|
@ -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>
|
2004-07-22 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* pinfo.cc (pinfo::init): Print handle in hex when MapViewOfFile fails.
|
* pinfo.cc (pinfo::init): Print handle in hex when MapViewOfFile fails.
|
||||||
|
|
|
@ -456,6 +456,7 @@ fhandler_tty_slave::open (int flags, mode_t)
|
||||||
{
|
{
|
||||||
*this = *(fhandler_tty_slave *) arch;
|
*this = *(fhandler_tty_slave *) arch;
|
||||||
termios_printf ("copied tty fhandler archetype");
|
termios_printf ("copied tty fhandler archetype");
|
||||||
|
set_flags ((flags & ~O_TEXT) | O_BINARY);
|
||||||
cygheap->open_fhs++;
|
cygheap->open_fhs++;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue