Hi, you can reproduce the problem with this little program, more or less copied from man-db source.
If you use it on the mandb.8 file from man-db package, it reads 4096 bytes; the second call to gzread returns 0, although the file size is 6554 bytes.
Upgrading to zlib_1.2.3.4.dfsg-2 seems *NOT* to fix the problem. I don't know what other files makes problem or if you're allowed to gzopen not compressed files at all. ./program < man-db-2.5.6/man/ja/man8/mandb.8 | wc -c ==> 4096 #include <stdlib.h> #include <stdio.h> #include <zlib.h> int main(void) { gzFile zlibfile; zlibfile = gzdopen(0, "r"); if(!zlibfile) abort(); for(;;) { char buffer[4096]; int r = gzread (zlibfile, buffer, 4096); if(r <= 0) break; if(fwrite(buffer, 1, (size_t) r, stdout) < (size_t) r) break; } gzclose(zlibfile); return 0; } Cheers, Joern -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org