summaryrefslogtreecommitdiffhomepage
path: root/archival
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-11-14 09:21:27 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-11-14 09:21:27 +0000
commit1a41db8eaf5a4e09023a6d46da82c625d3754eb1 (patch)
tree1f304f5d7181fb3c8917fbca76d5539421a8140e /archival
parent94cf153c2bc12d38ead5345116b93dc04ad08a6e (diff)
Remove some tar_gz stuff that get dragged in
Diffstat (limited to 'archival')
-rw-r--r--archival/libunarchive/get_header_tar_bz2.c7
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)
if (pid == 0) {
/* child process */
+ int status;
+
close(fd_pipe[0]); /* We don't wan't to read from the pipe */
- uncompressStream(archive_handle->src_fd, fd_pipe[1]);
- check_trailer_gzip(archive_handle->src_fd);
+ uncompressStream(archive_handle->src_fd, fd_pipe[1]);
close(fd_pipe[1]); /* Send EOF */
- exit(0);
+ exit(status);
/* notreached */
}
/* parent process */