diff options
author | Denis Vlasenko | 2007-03-07 22:02:23 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-03-07 22:02:23 +0000 |
commit | ab9eef21a57c23567505e8fbceb8e5ea76306ce1 (patch) | |
tree | 800845b64d0e9a204743656c4d267cc6c9917cde /archival/rpm.c | |
parent | 8e858e2700651a0e973169b579622cd3dcd0defd (diff) | |
download | busybox-ab9eef21a57c23567505e8fbceb8e5ea76306ce1.zip busybox-ab9eef21a57c23567505e8fbceb8e5ea76306ce1.tar.gz |
bunzip2/gunzip/uncompress/unlzma: merge into common code -
fix few corner cases, reduce size by 450 bytes. Update testsuite.
Diffstat (limited to 'archival/rpm.c')
-rw-r--r-- | archival/rpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/rpm.c b/archival/rpm.c index 9ab12df..a48dda3 100644 --- a/archival/rpm.c +++ b/archival/rpm.c @@ -203,7 +203,7 @@ static void extract_cpio_gz(int fd) { if ((magic[0] != 0x1f) || (magic[1] != 0x8b)) { bb_error_msg_and_die("invalid gzip magic"); } - check_header_gzip(archive_handle->src_fd); + check_header_gzip_or_die(archive_handle->src_fd); xchdir("/"); /* Install RPM's to root */ archive_handle->src_fd = open_transformer(archive_handle->src_fd, inflate_gunzip); |