From 4aa1632a5f5c533d235ab51fd27636928f29bf89 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sun, 6 Dec 1992 22:27:37 +0000 Subject: [PATCH] * make-path.c (touchy_mkdir): Remove debugging output. --- lib-src/make-path.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib-src/make-path.c b/lib-src/make-path.c index 9409583b53b..6741aa34b95 100644 --- a/lib-src/make-path.c +++ b/lib-src/make-path.c @@ -37,14 +37,12 @@ int touchy_mkdir (path) { struct stat buf; - fprintf (stderr, "mkdir (\"%s\")\n", path); - - /* If the path already exists and is a directory, return success. */ + /* If PATH already exists and is a directory, return success. */ if (stat (path, &buf) >= 0 && (buf.st_mode & S_IFMT) == S_IFDIR) return 0; - /* Otherwise, try to make it. If path exists but isn't a directory, + /* Otherwise, try to make it. If PATH exists but isn't a directory, this will signal an error. */ if (mkdir (path, 0777) < 0) { -- 2.11.4.GIT