(mkdir): Use stat, not safe_stat.
authorJim Meyering <jim@meyering.net>
Sat, 13 May 1995 13:13:04 +0000 (13:13 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 13 May 1995 13:13:04 +0000 (13:13 +0000)
lib/mkdir.c

index 07bd83d..7908b18 100644 (file)
@@ -57,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;