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:
8071c02
)
create_path -> make_directory
author
Tim Riker
<tim@rikers.org>
Fri, 22 Jun 2001 00:14:20 +0000
(
00:14
-0000)
committer
Tim Riker
<tim@rikers.org>
Fri, 22 Jun 2001 00:14:20 +0000
(
00:14
-0000)
libbb/unarchive.c
patch
|
blob
|
history
diff --git
a/libbb/unarchive.c
b/libbb/unarchive.c
index a0cc28eca7a85419e4213b2c9c46f5e7e400bfc6..3fbd6ef313d4a75d321f28660c6634faca963aee 100644
(file)
--- a/
libbb/unarchive.c
+++ b/
libbb/unarchive.c
@@
-142,7
+142,7
@@
char *extract_archive(FILE *src_stream, FILE *out_stream, const file_header_t *f
/* Use create_path instead of mkdir incase prefix path
* hasnt been created */
if (function & extract_create_dirs) {
- if (
create_path(full_name, file_entry->mode) == FALSE
) {
+ if (
make_directory(full_name, file_entry->mode, FILEUTILS_RECUR) < 0
) {
return NULL;
}
}