diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2000-05-09 14:14:17 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2000-05-09 14:14:17 +0400 |
commit | 8c63465c7b5d7b8b749757b6d3b1a05ce9d06444 (patch) | |
tree | 20ad3489ba4f1393cceaa021cee5c2dda179152e | |
parent | a731e4e7551b5ef572ae13a4f54de6e4523daf6f (diff) |
* errno.cc: Change mapping of ERROR_BAD_PATHNAME to ENOENT.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/errno.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 21fd0decc..3274a881b 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,10 @@ Thu May 9 0:47:00 2000 Corinna Vinschen <corinna@vinschen.de> + Patch suggested by Eric Fifer <EFifer@sanwaint.com> + * errno.cc: Change mapping of ERROR_BAD_PATHNAME to ENOENT. + +Thu May 9 0:47:00 2000 Corinna Vinschen <corinna@vinschen.de> + * path.cc (symlink::info): Treat non readable files as normal non symlink files. diff --git a/winsup/cygwin/errno.cc b/winsup/cygwin/errno.cc index 8ffd531b8..33c525e11 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), |