diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-11-14 09:21:27 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-11-14 09:21:27 +0000 |
commit | b598431e581adfd1a9dec0a711a205998d1d505b (patch) | |
tree | 1f304f5d7181fb3c8917fbca76d5539421a8140e /archival/libunarchive/get_header_tar_bz2.c | |
parent | 2b2d1f25ec3feade4a08bde22eb4f9f78c4c274d (diff) | |
download | busybox-w32-b598431e581adfd1a9dec0a711a205998d1d505b.tar.gz busybox-w32-b598431e581adfd1a9dec0a711a205998d1d505b.tar.bz2 busybox-w32-b598431e581adfd1a9dec0a711a205998d1d505b.zip |
Remove some tar_gz stuff that get dragged in
git-svn-id: svn://busybox.net/trunk/busybox@7909 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-rw-r--r-- | archival/libunarchive/get_header_tar_bz2.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/archival/libunarchive/get_header_tar_bz2.c b/archival/libunarchive/get_header_tar_bz2.c index 46c42a822..6354648fc 100644 --- a/archival/libunarchive/get_header_tar_bz2.c +++ b/archival/libunarchive/get_header_tar_bz2.c | |||
@@ -44,11 +44,12 @@ extern char get_header_tar_bz2(archive_handle_t *archive_handle) | |||
44 | 44 | ||
45 | if (pid == 0) { | 45 | if (pid == 0) { |
46 | /* child process */ | 46 | /* child process */ |
47 | int status; | ||
48 | |||
47 | close(fd_pipe[0]); /* We don't wan't to read from the pipe */ | 49 | close(fd_pipe[0]); /* We don't wan't to read from the pipe */ |
48 | uncompressStream(archive_handle->src_fd, fd_pipe[1]); | 50 | uncompressStream(archive_handle->src_fd, fd_pipe[1]); |
49 | check_trailer_gzip(archive_handle->src_fd); | ||
50 | close(fd_pipe[1]); /* Send EOF */ | 51 | close(fd_pipe[1]); /* Send EOF */ |
51 | exit(0); | 52 | exit(status); |
52 | /* notreached */ | 53 | /* notreached */ |
53 | } | 54 | } |
54 | /* parent process */ | 55 | /* parent process */ |