Thanks to claudyus84 and Gilles
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Fri, 26 Jun 2009 06:25:36 +0000 (06:25 +0000)
committerticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Fri, 26 Jun 2009 06:25:36 +0000 (06:25 +0000)
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

libbb/unarchive.c

index 38528a35a2a6bd91856e6f41ba2636a943bf5cf3..19aabff28819557bc0206720a53d6d7266acd26b 100644 (file)
@@ -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