* path.cc (symlink::info): Treat non readable files
as normal non symlink files.
This commit is contained in:
parent
67ce5cba91
commit
a731e4e755
@ -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>
|
2000-05-08 Paul K. Fisher <pfisher@plexware.com>
|
||||||
|
|
||||||
* include/pthread.h (pthread_detach): Add missing prototype.
|
* include/pthread.h (pthread_detach): Add missing prototype.
|
||||||
|
@ -2177,7 +2177,7 @@ symlink_info::check (const char *in_path, const suffix_info *suffixes)
|
|||||||
FILE_ATTRIBUTE_NORMAL, 0);
|
FILE_ATTRIBUTE_NORMAL, 0);
|
||||||
res = -1;
|
res = -1;
|
||||||
if (h == INVALID_HANDLE_VALUE)
|
if (h == INVALID_HANDLE_VALUE)
|
||||||
__seterrno ();
|
goto file_not_symlink;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
char cookie_buf[sizeof (SYMLINK_COOKIE) - 1];
|
char cookie_buf[sizeof (SYMLINK_COOKIE) - 1];
|
||||||
|
Loading…
Reference in New Issue
Block a user