mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-03-02 13:05:42 +08:00
* dtable.cc (dtable::get_debugger_info): Make stderr r/w according
to SUSv3.
This commit is contained in:
parent
0544d11637
commit
061095b5a3
@ -1,3 +1,8 @@
|
|||||||
|
2004-07-23 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* dtable.cc (dtable::get_debugger_info): Make stderr r/w according
|
||||||
|
to SUSv3.
|
||||||
|
|
||||||
2004-07-22 Corinna Vinschen <corinna@vinschen.de>
|
2004-07-22 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler_tty.cc (fhandler_tty_slave::open): Use requested flag
|
* fhandler_tty.cc (fhandler_tty_slave::open): Use requested flag
|
||||||
|
@ -119,7 +119,8 @@ dtable::get_debugger_info ()
|
|||||||
if (!fh)
|
if (!fh)
|
||||||
continue;
|
continue;
|
||||||
fds[i] = fh;
|
fds[i] = fh;
|
||||||
if (!fh->open ((i ? O_WRONLY : O_RDONLY) | O_BINARY, 0777))
|
if (!fh->open ((i ? (i == 2 ? O_RDWR : O_WRONLY) : O_RDONLY)
|
||||||
|
| O_BINARY, 0777))
|
||||||
release (i);
|
release (i);
|
||||||
else
|
else
|
||||||
CloseHandle (h);
|
CloseHandle (h);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user