mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-21 11:16:16 +02:00
(isdir): Usage stat, not safe_stat.
This commit is contained in:
@@ -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