From: Glenn L McGrath Date: Sun, 4 Jan 2004 11:06:34 +0000 (-0000) Subject: Fix usage with libraries, skip symbol table. X-Git-Tag: 1_00_pre6~65 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08ca752c68ead7d9911fb89ae1b03c36e11e6529;p=platform%2Fupstream%2Fbusybox.git Fix usage with libraries, skip symbol table. --- diff --git a/archival/libunarchive/get_header_ar.c b/archival/libunarchive/get_header_ar.c index 25fc837..25eafe0 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); } -