* fhandler_nodevice.cc (fhandler_nodevice::open): Assume that errno has already

been set if pc.error is nonzero.
This commit is contained in:
Christopher Faylor 2004-03-27 18:01:04 +00:00
parent 82b78005eb
commit f19da5f77d
2 changed files with 7 additions and 1 deletions

View File

@ -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.

View File

@ -31,6 +31,7 @@ details. */
int
fhandler_nodevice::open (int, mode_t)
{
if (!pc.error)
set_errno (ENXIO);
return 0;
}