wok-next diff linux-cloop/stuff/cloop.u @ rev 17168

linux-cloop: 4Gb+ support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 23 10:35:20 2014 +0200 (2014-09-23)
parents a306e9a56613
children 56359f299d0a
line diff
     1.1 --- a/linux-cloop/stuff/cloop.u	Mon Aug 11 16:24:13 2014 +0200
     1.2 +++ b/linux-cloop/stuff/cloop.u	Tue Sep 23 10:35:20 2014 +0200
     1.3 @@ -1,6 +1,6 @@
     1.4  --- cloop.h
     1.5  +++ cloop.h
     1.6 -@@ -20,6 +20,74 @@
     1.7 +@@ -20,6 +20,75 @@
     1.8   /* data_index (num_blocks 64bit pointers, network order)...      */
     1.9   /* compressed data (gzip block compressed format)...             */
    1.10   
    1.11 @@ -60,7 +60,8 @@
    1.12  +		return (char *) "32BE v0.68";
    1.13  +	}
    1.14  +	else { /* V3.0 */
    1.15 -+		int i, j;
    1.16 ++		int i;
    1.17 ++		loff_t j;
    1.18  +		
    1.19  +		for (i = n; i-- > 0; )
    1.20  +			offsets[i].size = ntohl(ofs32[i]);