* security.cc (get_file_attribute): Don't set errno.

This commit is contained in:
Corinna Vinschen
2001-05-22 15:59:37 +00:00
parent 44adf66367
commit e7e956a7db
2 changed files with 4 additions and 2 deletions

View File

@ -1194,8 +1194,6 @@ get_file_attribute (int use_ntsec, const char *file,
if ((*attribute & S_IFLNK) == S_IFLNK)
*attribute |= S_IRWXU | S_IRWXG | S_IRWXO;
if (res <= 0)
set_errno (ENOSYS);
return res > 0 ? 0 : -1;
}