Mercurial > emacs
changeset 1660:3d7bd998e203
* make-path.c (touchy_mkdir): Remove debugging output.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sun, 06 Dec 1992 22:27:37 +0000 |
parents | 59aca09e60f8 |
children | 26d8a65a6e32 |
files | lib-src/make-path.c |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/make-path.c Sun Dec 06 22:25:31 1992 +0000 +++ b/lib-src/make-path.c Sun Dec 06 22:27:37 1992 +0000 @@ -37,14 +37,12 @@ { 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) {