* fhandler_nodevice.cc (fhandler_nodevice::open): Assume that errno has already
been set if pc.error is nonzero.
This commit is contained in:
parent
82b78005eb
commit
f19da5f77d
@ -1,3 +1,8 @@
|
||||
2004-03-27 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* fhandler_nodevice.cc (fhandler_nodevice::open): Assume that errno has
|
||||
already been set if pc.error is nonzero.
|
||||
|
||||
2004-03-26 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* cygheap.cc (cygheap_fixup_in_child): Improve strace output.
|
||||
|
@ -31,6 +31,7 @@ details. */
|
||||
int
|
||||
fhandler_nodevice::open (int, mode_t)
|
||||
{
|
||||
if (!pc.error)
|
||||
set_errno (ENXIO);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user