diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2001-10-13 19:43:46 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2001-10-13 19:43:46 +0000 |
commit | 4bef7b41861f02874bce4ac6ab0c8c2484d41d07 (patch) | |
tree | 68cc6368c5bdca2b2d34213bc66b978fd7a26b03 /archival/cpio.c | |
parent | 051eee6ed3056145edeee14d7ab4de9e2f723164 (diff) | |
download | busybox-w32-4bef7b41861f02874bce4ac6ab0c8c2484d41d07.tar.gz busybox-w32-4bef7b41861f02874bce4ac6ab0c8c2484d41d07.tar.bz2 busybox-w32-4bef7b41861f02874bce4ac6ab0c8c2484d41d07.zip |
unarchive function changed to support both exclude and include lists, applets that use unarchive changed to match.
Diffstat (limited to 'archival/cpio.c')
-rw-r--r-- | archival/cpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/cpio.c b/archival/cpio.c index 7f68715eb..372f9f5b1 100644 --- a/archival/cpio.c +++ b/archival/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 | } |