From 08ca752c68ead7d9911fb89ae1b03c36e11e6529 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Sun, 4 Jan 2004 11:06:34 +0000 Subject: Fix usage with libraries, skip symbol table. --- archival/libunarchive/get_header_ar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archival/libunarchive') diff --git a/archival/libunarchive/get_header_ar.c b/archival/libunarchive/get_header_ar.c index 25fc83781..25eafe0bd 100644 --- a/archival/libunarchive/get_header_ar.c +++ b/archival/libunarchive/get_header_ar.c @@ -84,6 +84,7 @@ extern char get_header_ar(archive_handle_t *archive_handle) } 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 @@ extern char get_header_ar(archive_handle_t *archive_handle) return(EXIT_SUCCESS); } - -- cgit v1.2.3