summaryrefslogtreecommitdiffstats
path: root/libbb
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-06-26 02:25:36 (EDT)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-06-26 02:25:36 (EDT)
commit2bd54b21c7e9fcef7eb288d298795b12538e84db (patch)
tree1d5a4a762c774d4da81a78feafc9d510b884c360 /libbb
parenta2f5f54adba4fa703f11f4d94756911db83ed2a4 (diff)
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
Diffstat (limited to 'libbb')
-rw-r--r--libbb/unarchive.c4
1 files changed, 2 insertions, 2 deletions
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