[BusyBox-cvs] busybox/archival/libunarchive get_header_ar.c, 1.7, 1.8

Glenn McGrath bug1 at busybox.net
Sun Jan 4 11:06:36 UTC 2004


Update of /var/cvs/busybox/archival/libunarchive
In directory nail:/tmp/cvs-serv14738/archival/libunarchive

Modified Files:
	get_header_ar.c 
Log Message:
Fix usage with libraries, skip symbol table.


Index: get_header_ar.c
===================================================================
RCS file: /var/cvs/busybox/archival/libunarchive/get_header_ar.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- get_header_ar.c	31 Jul 2003 01:53:50 -0000	1.7
+++ get_header_ar.c	4 Jan 2004 11:06:34 -0000	1.8
@@ -84,6 +84,7 @@
 		} else if (ar.formated.name[1] == ' ') {
 			/* This is the index of symbols in the file for compilers */
 			data_skip(archive_handle);
+			archive_handle->offset += typed->size;
 			return (get_header_ar(archive_handle)); /* Return next header */
 		} else {
 			/* The number after the '/' indicates the offset in the ar data section
@@ -121,4 +122,3 @@
 
 	return(EXIT_SUCCESS);
 }
-




More information about the busybox-cvs mailing list