summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/path.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 0fa6ae4a8..21fd0decc 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2000-05-08 Paul K. Fisher <pfisher@plexware.com>
* include/pthread.h (pthread_detach): Add missing prototype.
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];