#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#endif
-#include "safe-stat.h"
-
/* mkdir adapted from GNU tar. */
/* Make directory DPATH, with permission mode DMODE.
int cpid, status;
struct stat statbuf;
- if (safe_stat (dpath, &statbuf) == 0)
+ if (stat (dpath, &statbuf) == 0)
{
errno = EEXIST; /* stat worked, so it already exists. */
return -1;