Fix multiply slash problem
This commit is contained in:
parent
382bb6cf5d
commit
8ada725ee1
@ -38,7 +38,10 @@ fsysdep_make_dirs (zfile, fpublic)
|
||||
ubuffree (zcopy);
|
||||
return FALSE;
|
||||
}
|
||||
*z = '/';
|
||||
*z = '/'; /* replace '/' in its place */
|
||||
/* now skips over multiple '/' in name */
|
||||
while ( (*(z + 1)) && (*(z + 1)) == '/')
|
||||
z++;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user