* path.cc (symlink::info): Treat non readable files

as normal non symlink files.
This commit is contained in:
Corinna Vinschen 2000-05-08 22:50:19 +00:00
parent 67ce5cba91
commit a731e4e755
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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];