Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-07-26 23:58:00 +0400
committerChristopher Faylor <me@cgf.cx>2002-07-26 23:58:00 +0400
commit6b3c247d078c8f5787db0628b5e0f02fbffdeba9 (patch)
tree4b00ae6540c495bdaf625a8433b1bcd2176cecff /winsup/cygwin/fhandler_registry.cc
parent6b6425cb532137f73f9f5e5c76dac6ab5595b1b5 (diff)
* fhandler_registry.cc (fhandler_registry::close): Return any error result to
the caller. * syscalls.cc (_close): Return result of fhandler::close to the caller.
Diffstat (limited to 'winsup/cygwin/fhandler_registry.cc')
-rw-r--r--winsup/cygwin/fhandler_registry.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_registry.cc b/winsup/cygwin/fhandler_registry.cc
index 4fc875a9b..f2e5e2145 100644
--- a/winsup/cygwin/fhandler_registry.cc
+++ b/winsup/cygwin/fhandler_registry.cc
@@ -533,7 +533,7 @@ fhandler_registry::close ()
}
if (value_name)
cfree (value_name);
- return 0;
+ return res;
}
bool