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 6d7fa955b69c6464f930ec58436f19b6bde76116..10e107fc533dd8145e5544b58dfdce2c4592db93 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, '/');