(rmdir): Use stat, not safe_stat.
authorJim Meyering <jim@meyering.net>
Sat, 13 May 1995 13:20:19 +0000 (13:20 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 13 May 1995 13:20:19 +0000 (13:20 +0000)
lib/rmdir.c

index 23c2873c3d8949836ef29f36cc876025f8a8550e..a8c1f49eb0807d617291ab6e688d44cedfcb13ca 100644 (file)
@@ -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))