mkdir -p had gotten broken. Fixed now.
authorErik Andersen <andersen@codepoet.org>
Tue, 8 Feb 2000 06:19:29 +0000 (06:19 -0000)
committerErik Andersen <andersen@codepoet.org>
Tue, 8 Feb 2000 06:19:29 +0000 (06:19 -0000)
 -Erik

utility.c

index 6d7fa95..10e107f 100644 (file)
--- a/utility.c
+++ b/utility.c
@@ -548,7 +548,8 @@ extern int createPath (const char *name, int mode)
     int retVal=0;
 
     strcpy( buf, name);
-    cp = strchr(buf, '/');
+    for (cp = buf; *cp == '/'; cp++);
+    cp = strchr(cp, '/');
     while (cp) {
        cpOld = cp;
        cp = strchr(cp + 1, '/');