#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#endif
-#include "safe-stat.h"
-
/* rmdir adapted from GNU tar. */
/* Remove directory 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))