diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-06-08 15:22:52 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-06-08 15:22:52 +0000 |
commit | 590f450aa9b3fe665bc6824ebde118b18f79c71b (patch) | |
tree | cd1eb7dbec8cdacaafbefad989ad980a0961e72b /winsup/cygwin/path.cc | |
parent | 71f53a2f6254e4f47891cd58ab562220547d01a2 (diff) | |
download | cygnal-590f450aa9b3fe665bc6824ebde118b18f79c71b.tar.gz cygnal-590f450aa9b3fe665bc6824ebde118b18f79c71b.tar.bz2 cygnal-590f450aa9b3fe665bc6824ebde118b18f79c71b.zip |
* path.cc (symlink_info::check): Return with error set to ENOENT if
STATUS_NO_MEDIA_IN_DEVICE is returned.
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r-- | winsup/cygwin/path.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 63850d394..7477ac5c9 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -2268,7 +2268,8 @@ symlink_info::check (char *path, const suffix_info *suffixes, unsigned opt, error in get_nt_native_path. Both status codes are deliberately not tested here unless proved necessary. */ if (status == STATUS_OBJECT_PATH_NOT_FOUND - || status == STATUS_OBJECT_NAME_INVALID) + || status == STATUS_OBJECT_NAME_INVALID + || status == STATUS_NO_MEDIA_IN_DEVICE) { set_error (ENOENT); goto file_not_symlink; |