From bdb3a90e0a3a8091e92c7496ebf419a0501500d0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 13 May 1995 13:20:19 +0000 Subject: [PATCH] (rmdir): Use stat, not safe_stat. --- lib/rmdir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rmdir.c b/lib/rmdir.c index 23c2873c3..a8c1f49eb 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)) -- 2.11.0