X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Frmdir.c;h=de898ec5418572cd90a44073cdc7917b458c491b;hb=a675d1ef978068fda0d6b129ab764a27349131fd;hp=23c2873c3d8949836ef29f36cc876025f8a8550e;hpb=2d6883c97bd82ff276eb36d09ec6ec89a923cc5a;p=gnulib.git diff --git a/lib/rmdir.c b/lib/rmdir.c index 23c2873c3..de898ec54 100644 --- a/lib/rmdir.c +++ b/lib/rmdir.c @@ -35,8 +35,6 @@ extern int errno; #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) #endif -#include "safe-stat.h" - /* rmdir adapted from GNU tar. */ /* Remove directory DPATH. @@ -49,7 +47,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))