* fhandler_registry.cc (fhandler_registry::close): Return any error result to
the caller. * syscalls.cc (_close): Return result of fhandler::close to the caller.
This commit is contained in:
parent
6b6425cb53
commit
6b3c247d07
|
@ -1,3 +1,9 @@
|
|||
2002-07-26 Conrad Scott <conrad.scott@dsl.pipex.com>
|
||||
|
||||
* fhandler_registry.cc (fhandler_registry::close): Return any error
|
||||
result to the caller.
|
||||
* syscalls.cc (_close): Return result of fhandler::close to the caller.
|
||||
|
||||
2002-07-25 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* security.cc (allow_ntsec): Default to on.
|
||||
|
|
|
@ -533,7 +533,7 @@ fhandler_registry::close ()
|
|||
}
|
||||
if (value_name)
|
||||
cfree (value_name);
|
||||
return 0;
|
||||
return res;
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
@ -578,9 +578,8 @@ _close (int fd)
|
|||
res = -1;
|
||||
else
|
||||
{
|
||||
cfd->close ();
|
||||
res = cfd->close ();
|
||||
cfd.release ();
|
||||
res = 0;
|
||||
}
|
||||
|
||||
syscall_printf ("%d = close (%d)", res, fd);
|
||||
|
|
Loading…
Reference in New Issue