* security.cc (get_file_attribute): Don't set errno.
This commit is contained in:
parent
44adf66367
commit
e7e956a7db
|
@ -1,3 +1,7 @@
|
||||||
|
Tue May 22 17:58:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* security.cc (get_file_attribute): Don't set errno.
|
||||||
|
|
||||||
Mon May 21 15:08:00 2001 Christopher Faylor <cgf@cygnus.com>
|
Mon May 21 15:08:00 2001 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
* configure.in: Allow --enable-newvfork to turn NEWVFORK on and off.
|
* configure.in: Allow --enable-newvfork to turn NEWVFORK on and off.
|
||||||
|
|
|
@ -1194,8 +1194,6 @@ get_file_attribute (int use_ntsec, const char *file,
|
||||||
if ((*attribute & S_IFLNK) == S_IFLNK)
|
if ((*attribute & S_IFLNK) == S_IFLNK)
|
||||||
*attribute |= S_IRWXU | S_IRWXG | S_IRWXO;
|
*attribute |= S_IRWXU | S_IRWXG | S_IRWXO;
|
||||||
|
|
||||||
if (res <= 0)
|
|
||||||
set_errno (ENOSYS);
|
|
||||||
return res > 0 ? 0 : -1;
|
return res > 0 ? 0 : -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue