projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94cf153
)
Remove some tar_gz stuff that get dragged in
author
Glenn L McGrath
<bug1@ihug.co.nz>
Fri, 14 Nov 2003 09:21:27 +0000
(09:21 -0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Fri, 14 Nov 2003 09:21:27 +0000
(09:21 -0000)
archival/libunarchive/get_header_tar_bz2.c
patch
|
blob
|
history
diff --git
a/archival/libunarchive/get_header_tar_bz2.c
b/archival/libunarchive/get_header_tar_bz2.c
index 46c42a822a0707156c406bb0decebe28ba9f8359..6354648fcb129933566596318614e25faad2ebe6 100644
(file)
--- 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 */