(maintainer-clean): Rename from realclean.
[gnulib.git] / lib / mkdir.c
index 59650d9..7908b18 100644 (file)
@@ -21,7 +21,6 @@
 
 #include <sys/types.h>
 #include <sys/stat.h>
-
 #include <errno.h>
 #ifndef errno
 extern int errno;
@@ -58,7 +57,7 @@ mkdir (dpath, 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;