diff options
author | Denis Vlasenko | 2007-10-05 15:26:08 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-10-05 15:26:08 +0000 |
commit | 5dd8a0366578746bb991b0e87a60d8d442bd8d87 (patch) | |
tree | dbfa7391dd67f9c8e85f574a33ef5591b8303cb5 /archival/bbunzip.c | |
parent | 368a12efc24d9e9c758ee99239f79e5f443e6c0e (diff) | |
download | busybox-5dd8a0366578746bb991b0e87a60d8d442bd8d87.zip busybox-5dd8a0366578746bb991b0e87a60d8d442bd8d87.tar.gz |
gunzip: support concatenated gz files.
text data bss dec hex filename
770988 1029 9552 781569 bed01 busybox.t0/busybox
771105 1029 9552 781686 bed76 busybox.t3/busybox
Diffstat (limited to 'archival/bbunzip.c')
-rw-r--r-- | archival/bbunzip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/archival/bbunzip.c b/archival/bbunzip.c index bccc8f8..e106bf0 100644 --- a/archival/bbunzip.c +++ b/archival/bbunzip.c @@ -74,7 +74,7 @@ int bbunpack(char **argv, goto err; } /* O_EXCL: "real" bunzip2 doesn't overwrite files */ - /* GNU gunzip goes not bail out, but goes to next file */ + /* GNU gunzip does not bail out, but goes to next file */ if (open_to_or_warn(STDOUT_FILENO, new_name, O_WRONLY | O_CREAT | O_EXCL, stat_buf.st_mode)) goto err; @@ -241,7 +241,6 @@ USE_DESKTOP(long long) int unpack_gunzip(void) if (ENABLE_FEATURE_GUNZIP_UNCOMPRESS && magic2 == 0x9d) { status = uncompress(STDIN_FILENO, STDOUT_FILENO); } else if (magic2 == 0x8b) { - check_header_gzip_or_die(STDIN_FILENO); status = unpack_gz_stream(STDIN_FILENO, STDOUT_FILENO); } else { goto bad_magic; |