* 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>
|
||||
|
||||
* fhandler_tty.cc (fhandler_tty_slave::open): Use requested flag
|
||||
|
|
|
@ -119,7 +119,8 @@ dtable::get_debugger_info ()
|
|||
if (!fh)
|
||||
continue;
|
||||
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);
|
||||
else
|
||||
CloseHandle (h);
|
||||
|
|
Loading…
Reference in New Issue