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>2000-05-06 07:33:10 +0400
committerChristopher Faylor <me@cgf.cx>2000-05-06 07:33:10 +0400
commit2a1064aad67e918eb5fe68e4fe8cb137e4607f2a (patch)
treee662103d7fc9bbc759f020f608af12099f7c7de5 /winsup/cygwin/errno.cc
parentb5c5e30da7734512ac90e3d0acbff624e6fdc562 (diff)
* errno.cc (errmap): Correct DIRECTORY mapping to ENOTDIR.
Diffstat (limited to 'winsup/cygwin/errno.cc')
-rw-r--r--winsup/cygwin/errno.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/errno.cc b/winsup/cygwin/errno.cc
index 2f51ac588..8ffd531b8 100644
--- a/winsup/cygwin/errno.cc
+++ b/winsup/cygwin/errno.cc
@@ -79,7 +79,7 @@ errmap[] =
X (NO_DATA, EPIPE),
X (PIPE_NOT_CONNECTED, ECOMM),
X (MORE_DATA, EAGAIN),
- X (DIRECTORY, EISDIR),
+ X (DIRECTORY, ENOTDIR),
X (PIPE_CONNECTED, EBUSY),
X (PIPE_LISTENING, ECOMM),
X (NO_TOKEN, EINVAL),