1
0
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:
Jim Meyering
1995-05-13 13:07:54 +00:00
parent 627abb8251
commit e8bfedbcd4

View File

@@ -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);
}