wok rev 17998
fusecloop: adjust size (again, constant block-size)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 24 18:49:03 2015 +0200 (2015-04-24) |
parents | 153fb93a12da |
children | b8e9e3c1b95d |
files | fusecloop/stuff/fusecloop.u |
line diff
1.1 --- a/fusecloop/stuff/fusecloop.u Fri Apr 24 18:45:51 2015 +0200 1.2 +++ b/fusecloop/stuff/fusecloop.u Fri Apr 24 18:49:03 2015 +0200 1.3 @@ -459,7 +459,7 @@ 1.4 + for (n = 0; (len = readblock(uncompressed, block_size)) != 0; n++) { 1.5 + lastlen = len; 1.6 + len = zlenmax; 1.7 -+ if (compress2(compressed, &len, uncompressed, lastlen, 1.8 ++ if (compress2(compressed, &len, uncompressed, block_size, 1.9 + Z_BEST_COMPRESSION) != Z_OK) 1.10 + quit("Compression failed"); 1.11 + fprintf(stderr, "Block %u length %lu => %lu\n",