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>2012-07-03 00:00:22 +0400
committerChristopher Faylor <me@cgf.cx>2012-07-03 00:00:22 +0400
commite82360f6591c6013bb0abdfaad4e83efd6afcd04 (patch)
tree65ec8268f4b2e333f1567a334cbf1e8742e52985 /winsup/cygwin/fhandler_registry.cc
parente9d7f5b3a9c2cac10d720631b40f610be441daa9 (diff)
* fhandler_registry.cc (fhandler_registry::open): Handle missing EROFS error
condition pointed to by Clang.
Diffstat (limited to 'winsup/cygwin/fhandler_registry.cc')
-rw-r--r--winsup/cygwin/fhandler_registry.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler_registry.cc b/winsup/cygwin/fhandler_registry.cc
index e0e595f19..311eac3a6 100644
--- a/winsup/cygwin/fhandler_registry.cc
+++ b/winsup/cygwin/fhandler_registry.cc
@@ -848,6 +848,7 @@ fhandler_registry::open (int flags, mode_t mode)
{
set_errno (EROFS);
res = 0;
+ goto out;
}
else
{