aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/errno.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2000-05-09 10:14:17 +0000
committerCorinna Vinschen <corinna@vinschen.de>2000-05-09 10:14:17 +0000
commit8c63465c7b5d7b8b749757b6d3b1a05ce9d06444 (patch)
tree20ad3489ba4f1393cceaa021cee5c2dda179152e /winsup/cygwin/errno.cc
parenta731e4e7551b5ef572ae13a4f54de6e4523daf6f (diff)
downloadnewlib-8c63465c7b5d7b8b749757b6d3b1a05ce9d06444.zip
newlib-8c63465c7b5d7b8b749757b6d3b1a05ce9d06444.tar.gz
newlib-8c63465c7b5d7b8b749757b6d3b1a05ce9d06444.tar.bz2
* errno.cc: Change mapping of ERROR_BAD_PATHNAME to ENOENT.
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 8ffd531..33c525e 100644
--- a/winsup/cygwin/errno.cc
+++ b/winsup/cygwin/errno.cc
@@ -64,7 +64,7 @@ errmap[] =
X (CHILD_NOT_COMPLETE, EBUSY),
X (DIR_NOT_EMPTY, ENOTEMPTY),
X (SIGNAL_REFUSED, EIO),
- X (BAD_PATHNAME, EINVAL),
+ X (BAD_PATHNAME, ENOENT),
X (SIGNAL_PENDING, EBUSY),
X (MAX_THRDS_REACHED, EAGAIN),
X (BUSY, EBUSY),