mkdir -p had gotten broken. Fixed now.

-Erik
1_00_stable_10817
Erik Andersen 2000-02-08 06:19:29 +00:00
parent d0480c26ab
commit c0bf817bbc
1 changed files with 2 additions and 1 deletions

View File

@ -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, '/');