On Sun, Jan 17, 2010 at 04:37:29PM -0800, Mark Adler wrote: > Ok, thanks. Let me know what you hear. Hrm, actually it does have a reason. It's comparing the input data read from the disk with the result of decompression to figure out if it's a compressed file that's being read. A function to query this would do the trick.