diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-11-18 21:37:52 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-11-18 21:37:52 +0000 |
commit | 56f16b42c93af18fbb984e8d6384c03e5405e3ae (patch) | |
tree | d0b1d8100cd6857681145fa4e40b05fb542d35ae /archival/libunarchive | |
parent | 20872be9a4e670666b307f94b8fca6bf807c9b7b (diff) | |
download | busybox-w32-56f16b42c93af18fbb984e8d6384c03e5405e3ae.tar.gz busybox-w32-56f16b42c93af18fbb984e8d6384c03e5405e3ae.tar.bz2 busybox-w32-56f16b42c93af18fbb984e8d6384c03e5405e3ae.zip |
tar -Z, uncompress support
Diffstat (limited to 'archival/libunarchive')
-rw-r--r-- | archival/libunarchive/Makefile.in | 1 | ||||
-rw-r--r-- | archival/libunarchive/decompress_uncompress.c | 5 | ||||
-rw-r--r-- | archival/libunarchive/uncompress.c | 5 |
3 files changed, 1 insertions, 10 deletions
diff --git a/archival/libunarchive/Makefile.in b/archival/libunarchive/Makefile.in index d449c193e..14ceea110 100644 --- a/archival/libunarchive/Makefile.in +++ b/archival/libunarchive/Makefile.in | |||
@@ -73,6 +73,7 @@ LIBUNARCHIVE-$(CONFIG_RPM) += $(GUNZIP_FILES) get_header_cpio.o | |||
73 | LIBUNARCHIVE-$(CONFIG_TAR) += get_header_tar.o | 73 | LIBUNARCHIVE-$(CONFIG_TAR) += get_header_tar.o |
74 | LIBUNARCHIVE-$(CONFIG_FEATURE_TAR_BZIP2) += decompress_bunzip2.o get_header_tar_bz2.o | 74 | LIBUNARCHIVE-$(CONFIG_FEATURE_TAR_BZIP2) += decompress_bunzip2.o get_header_tar_bz2.o |
75 | LIBUNARCHIVE-$(CONFIG_FEATURE_TAR_GZIP) += $(GUNZIP_FILES) get_header_tar_gz.o | 75 | LIBUNARCHIVE-$(CONFIG_FEATURE_TAR_GZIP) += $(GUNZIP_FILES) get_header_tar_gz.o |
76 | LIBUNARCHIVE-$(CONFIG_FEATURE_TAR_COMPRESS) += uncompress.o | ||
76 | LIBUNARCHIVE-$(CONFIG_UNCOMPRESS) += uncompress.o | 77 | LIBUNARCHIVE-$(CONFIG_UNCOMPRESS) += uncompress.o |
77 | LIBUNARCHIVE-$(CONFIG_UNZIP) += $(GUNZIP_FILES) | 78 | LIBUNARCHIVE-$(CONFIG_UNZIP) += $(GUNZIP_FILES) |
78 | 79 | ||
diff --git a/archival/libunarchive/decompress_uncompress.c b/archival/libunarchive/decompress_uncompress.c index 9851ca39d..5046e8a26 100644 --- a/archival/libunarchive/decompress_uncompress.c +++ b/archival/libunarchive/decompress_uncompress.c | |||
@@ -1,8 +1,6 @@ | |||
1 | #include "config.h" | 1 | #include "config.h" |
2 | #include "libbb.h" | 2 | #include "libbb.h" |
3 | 3 | ||
4 | #if defined CONFIG_UNCOMPRESS || defined CONFIG_FEATURE_GUNZIP_UNCOMPRESS | ||
5 | |||
6 | /* uncompress for busybox -- (c) 2002 Robert Griebl | 4 | /* uncompress for busybox -- (c) 2002 Robert Griebl |
7 | * | 5 | * |
8 | * based on the original compress42.c source | 6 | * based on the original compress42.c source |
@@ -293,6 +291,3 @@ extern int uncompress(int fd_in, int fd_out) | |||
293 | 291 | ||
294 | return 0; | 292 | return 0; |
295 | } | 293 | } |
296 | |||
297 | |||
298 | #endif | ||
diff --git a/archival/libunarchive/uncompress.c b/archival/libunarchive/uncompress.c index 9851ca39d..5046e8a26 100644 --- a/archival/libunarchive/uncompress.c +++ b/archival/libunarchive/uncompress.c | |||
@@ -1,8 +1,6 @@ | |||
1 | #include "config.h" | 1 | #include "config.h" |
2 | #include "libbb.h" | 2 | #include "libbb.h" |
3 | 3 | ||
4 | #if defined CONFIG_UNCOMPRESS || defined CONFIG_FEATURE_GUNZIP_UNCOMPRESS | ||
5 | |||
6 | /* uncompress for busybox -- (c) 2002 Robert Griebl | 4 | /* uncompress for busybox -- (c) 2002 Robert Griebl |
7 | * | 5 | * |
8 | * based on the original compress42.c source | 6 | * based on the original compress42.c source |
@@ -293,6 +291,3 @@ extern int uncompress(int fd_in, int fd_out) | |||
293 | 291 | ||
294 | return 0; | 292 | return 0; |
295 | } | 293 | } |
296 | |||
297 | |||
298 | #endif | ||