mkdir -p had gotten broken. Fixed now.

-Erik
This commit is contained in:
Erik Andersen 2000-02-08 06:19:29 +00:00
parent d0480c26ab
commit c0bf817bbc

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