aboutsummaryrefslogtreecommitdiff
path: root/cpio.c
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-10-13 19:43:46 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-10-13 19:43:46 +0000
commite35431e9356980bd9ff763b5cb13905ef0580818 (patch)
tree68cc6368c5bdca2b2d34213bc66b978fd7a26b03 /cpio.c
parent48269e8e47f1efb159ea7d8f1fb8cc3ad4646be6 (diff)
downloadbusybox-w32-e35431e9356980bd9ff763b5cb13905ef0580818.tar.gz
busybox-w32-e35431e9356980bd9ff763b5cb13905ef0580818.tar.bz2
busybox-w32-e35431e9356980bd9ff763b5cb13905ef0580818.zip
unarchive function changed to support both exclude and include lists, applets that use unarchive changed to match.
git-svn-id: svn://busybox.net/trunk/busybox@3516 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'cpio.c')
-rw-r--r--cpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpio.c b/cpio.c
index 7f68715eb..372f9f5b1 100644
--- a/cpio.c
+++ b/cpio.c
@@ -86,7 +86,7 @@ extern int cpio_main(int argc, char **argv)
86 optind++; 86 optind++;
87 } 87 }
88 88
89 unarchive(src_stream, stdout, &get_header_cpio, extract_function, "./", extract_names); 89 unarchive(src_stream, stdout, &get_header_cpio, extract_function, "./", extract_names, NULL);
90 if (oldmask) { 90 if (oldmask) {
91 umask(oldmask); /* Restore umask if we changed it */ 91 umask(oldmask); /* Restore umask if we changed it */
92 } 92 }