From: Jim Meyering Date: Sat, 13 May 1995 13:20:19 +0000 (+0000) Subject: (rmdir): Use stat, not safe_stat. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdb3a90e0a3a8091e92c7496ebf419a0501500d0;p=pspp (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))