From: ticktock35 Date: Fri, 26 Jun 2009 06:25:36 +0000 (+0000) Subject: Thanks to claudyus84 and Gilles X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2bd54b21c7e9fcef7eb288d298795b12538e84db;p=oweals%2Fopkg-lede.git Thanks to claudyus84 and Gilles http://www.crisos.org/flyspray/index.php?do=details&task_id=10 Fix issue: http://code.google.com/p/opkg/issues/detail?id=4#c5 git-svn-id: http://opkg.googlecode.com/svn/trunk@214 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- diff --git a/libbb/unarchive.c b/libbb/unarchive.c index 38528a3..19aabff 100644 --- a/libbb/unarchive.c +++ b/libbb/unarchive.c @@ -52,11 +52,11 @@ void seek_sub_file(FILE *src_stream, const int count) int i; /* Try to fseek as faster */ archive_offset += count; - if (fseek(src_stream, count, SEEK_CUR) != 0 && errno == ESPIPE) { + // if (fseek(src_stream, count, SEEK_CUR) != 0 && errno == ESPIPE) { for (i = 0; i < count; i++) { fgetc(src_stream); } - } + //} return; } #endif