This commit is contained in:
Eric Andersen
1999-11-19 02:38:58 +00:00
parent ab746abfc0
commit 08b1034f4f
17 changed files with 101 additions and 48 deletions

View File

@ -482,6 +482,10 @@ extern void createPath (const char *name, int mode)
char buf[NAME_MAX];
strcpy (buf, name);
if (buf[strlen(buf)]!='/') {
buf[strlen(buf)] = '/';
buf[strlen(buf)+1] = '\0';
}
cp = strchr (buf, '/');