Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2000-05-09 02:50:19 +0400
committerCorinna Vinschen <corinna@vinschen.de>2000-05-09 02:50:19 +0400
commita731e4e7551b5ef572ae13a4f54de6e4523daf6f (patch)
treeff27e6cdde44e63a48844ceb482a77022c884024 /winsup
parent67ce5cba91de025481ef2f35da8696c5d5a66096 (diff)
* path.cc (symlink::info): Treat non readable files
as normal non symlink files.
Diffstat (limited to 'winsup')
-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];