projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0480c2
)
mkdir -p had gotten broken. Fixed now.
author
Erik Andersen
<andersen@codepoet.org>
Tue, 8 Feb 2000 06:19:29 +0000
(06:19 -0000)
committer
Erik Andersen
<andersen@codepoet.org>
Tue, 8 Feb 2000 06:19:29 +0000
(06:19 -0000)
-Erik
utility.c
patch
|
blob
|
history
diff --git
a/utility.c
b/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, '/');