From a5023e70d8954645d4168bb5fd891b9fe3bc51ad Mon Sep 17 00:00:00 2001 From: timr Date: Fri, 22 Jun 2001 00:14:20 +0000 Subject: create_path -> make_directory git-svn-id: svn://busybox.net/trunk/busybox@2876 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- libbb/unarchive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbb') 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 /* 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; } } -- cgit v1.2.3-55-g6feb