From 4217177afc596dc0d1005f9eea607834ef2ae5c4 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 13 May 1995 13:13:04 +0000 Subject: [PATCH] (mkdir): Use stat, not safe_stat. --- lib/mkdir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mkdir.c b/lib/mkdir.c index 07bd83deaf..7908b18b76 100644 --- a/lib/mkdir.c +++ b/lib/mkdir.c @@ -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; -- 2.30.2