From: Jim Meyering Date: Sat, 13 May 1995 13:20:19 +0000 (+0000) Subject: (rmdir): Use stat, not safe_stat. X-Git-Tag: textutils-1_12_1~189 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8a7a1fda12f30dd82b62a72aa6345f3a7cf5af94;p=thirdparty%2Fcoreutils.git (rmdir): Use stat, not safe_stat. --- diff --git a/lib/rmdir.c b/lib/rmdir.c index 23c2873c3d..a8c1f49eb0 100644 --- a/lib/rmdir.c +++ b/lib/rmdir.c @@ -49,7 +49,7 @@ rmdir (dpath) int cpid, status; struct stat statbuf; - if (safe_stat (dpath, &statbuf) != 0) + if (stat (dpath, &statbuf) != 0) return -1; /* errno already set */ if (!S_ISDIR (statbuf.st_mode))