aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authortimr <timr@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-06-22 00:14:20 +0000
committertimr <timr@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-06-22 00:14:20 +0000
commita5023e70d8954645d4168bb5fd891b9fe3bc51ad (patch)
tree3cad302d79fad765472be244059c5d4686cfe10c /libbb
parentc3f76c9711dc97ecd481c10794b595fe0fef368e (diff)
downloadbusybox-w32-a5023e70d8954645d4168bb5fd891b9fe3bc51ad.tar.gz
busybox-w32-a5023e70d8954645d4168bb5fd891b9fe3bc51ad.tar.bz2
busybox-w32-a5023e70d8954645d4168bb5fd891b9fe3bc51ad.zip
create_path -> make_directory
git-svn-id: svn://busybox.net/trunk/busybox@2876 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r--libbb/unarchive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/unarchive.c b/libbb/unarchive.c
index a0cc28eca..3fbd6ef31 100644
--- 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
142 /* Use create_path instead of mkdir incase prefix path 142 /* Use create_path instead of mkdir incase prefix path
143 * hasnt been created */ 143 * hasnt been created */
144 if (function & extract_create_dirs) { 144 if (function & extract_create_dirs) {
145 if (create_path(full_name, file_entry->mode) == FALSE) { 145 if (make_directory(full_name, file_entry->mode, FILEUTILS_RECUR) < 0) {
146 return NULL; 146 return NULL;
147 } 147 }
148 } 148 }