diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2004-01-04 11:06:34 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2004-01-04 11:06:34 +0000 |
commit | 08ca752c68ead7d9911fb89ae1b03c36e11e6529 (patch) | |
tree | 986c71d3fdcc4c3e627bdcde3f40ddda67361156 | |
parent | 930453bdcf27bdb4f51d3f4060ebd368aad18c56 (diff) | |
download | busybox-w32-08ca752c68ead7d9911fb89ae1b03c36e11e6529.tar.gz busybox-w32-08ca752c68ead7d9911fb89ae1b03c36e11e6529.tar.bz2 busybox-w32-08ca752c68ead7d9911fb89ae1b03c36e11e6529.zip |
Fix usage with libraries, skip symbol table.
-rw-r--r-- | archival/libunarchive/get_header_ar.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
84 | } else if (ar.formated.name[1] == ' ') { | 84 | } else if (ar.formated.name[1] == ' ') { |
85 | /* This is the index of symbols in the file for compilers */ | 85 | /* This is the index of symbols in the file for compilers */ |
86 | data_skip(archive_handle); | 86 | data_skip(archive_handle); |
87 | archive_handle->offset += typed->size; | ||
87 | return (get_header_ar(archive_handle)); /* Return next header */ | 88 | return (get_header_ar(archive_handle)); /* Return next header */ |
88 | } else { | 89 | } else { |
89 | /* The number after the '/' indicates the offset in the ar data section | 90 | /* 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) | |||
121 | 122 | ||
122 | return(EXIT_SUCCESS); | 123 | return(EXIT_SUCCESS); |
123 | } | 124 | } |
124 | |||