[BusyBox-cvs] busybox/archival/libunarchive get_header_tar.c, 1.24, 1.25
Glenn McGrath
bug1 at busybox.net
Fri Nov 14 12:57:18 UTC 2003
Update of /var/cvs/busybox/archival/libunarchive
In directory winder:/tmp/cvs-serv13875/archival/libunarchive
Modified Files:
get_header_tar.c
Log Message:
Keep trying to find a good header, if we exit it will cause .tar.gz
files to compute incorrect crc and length for gzip
Index: get_header_tar.c
===================================================================
RCS file: /var/cvs/busybox/archival/libunarchive/get_header_tar.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- get_header_tar.c 5 Nov 2003 04:55:58 -0000 1.24
+++ get_header_tar.c 14 Nov 2003 12:57:14 -0000 1.25
@@ -65,7 +65,7 @@
/* If there is no filename its an empty header */
if (tar.formated.name[0] == 0) {
- return(EXIT_FAILURE);
+ return(EXIT_SUCCESS);
}
/* Check header has valid magic, "ustar" is for the proper tar
More information about the busybox-cvs
mailing list