mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(isdir): Usage stat, not safe_stat.
This commit is contained in:
1 parent
627abb8251
commit
e8bfedbcd4
1 file changed
+1
-1
+1
-1
@@ -41,5 +41,5 @@ isdir (path)
|
||||
{
|
||||
struct stat stats;
|
||||
|
||||
return safe_stat (path, &stats) == 0 && S_ISDIR (stats.st_mode);
|
||||
return stat (path, &stats) == 0 && S_ISDIR (stats.st_mode);
|
||||
}
|
||||
Reference in new issue
Block a user