diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2000-05-09 02:50:19 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2000-05-09 02:50:19 +0400 |
commit | a731e4e7551b5ef572ae13a4f54de6e4523daf6f (patch) | |
tree | ff27e6cdde44e63a48844ceb482a77022c884024 /winsup/cygwin/path.cc | |
parent | 67ce5cba91de025481ef2f35da8696c5d5a66096 (diff) |
* path.cc (symlink::info): Treat non readable files
as normal non symlink files.
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r-- | winsup/cygwin/path.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 205aae406..42170aa16 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -2177,7 +2177,7 @@ symlink_info::check (const char *in_path, const suffix_info *suffixes) FILE_ATTRIBUTE_NORMAL, 0); res = -1; if (h == INVALID_HANDLE_VALUE) - __seterrno (); + goto file_not_symlink; else { char cookie_buf[sizeof (SYMLINK_COOKIE) - 1]; |