* 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>
|
2004-03-26 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* cygheap.cc (cygheap_fixup_in_child): Improve strace output.
|
* cygheap.cc (cygheap_fixup_in_child): Improve strace output.
|
||||||
|
@ -31,7 +31,8 @@ details. */
|
|||||||
int
|
int
|
||||||
fhandler_nodevice::open (int, mode_t)
|
fhandler_nodevice::open (int, mode_t)
|
||||||
{
|
{
|
||||||
set_errno (ENXIO);
|
if (!pc.error)
|
||||||
|
set_errno (ENXIO);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user