[BusyBox-cvs] busybox/archival/libunarchive get_header_tar_bz2.c, 1.4, 1.5

Glenn McGrath bug1 at busybox.net
Fri Nov 14 09:21:31 UTC 2003


Update of /var/cvs/busybox/archival/libunarchive
In directory winder:/tmp/cvs-serv10625/archival/libunarchive

Modified Files:
	get_header_tar_bz2.c 
Log Message:
Remove some tar_gz stuff that get dragged in


Index: get_header_tar_bz2.c
===================================================================
RCS file: /var/cvs/busybox/archival/libunarchive/get_header_tar_bz2.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- get_header_tar_bz2.c	14 Nov 2003 08:30:46 -0000	1.4
+++ get_header_tar_bz2.c	14 Nov 2003 09:21:27 -0000	1.5
@@ -44,11 +44,12 @@
 
 	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 */




More information about the busybox-cvs mailing list