From: Mark Adler Date: Sun, 2 Oct 2011 19:13:50 +0000 (-0700) Subject: Correct documentation of gzdirect() since junk at end now ignored. X-Git-Tag: v1.2.5.2~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c9d261809bfafc4350147ade7b74022dd144d32;p=thirdparty%2Fzlib-ng.git Correct documentation of gzdirect() since junk at end now ignored. --- diff --git a/zlib.h b/zlib.h index b780e6c33..8050bddc1 100644 --- a/zlib.h +++ b/zlib.h @@ -1431,9 +1431,7 @@ ZEXTERN int ZEXPORT gzeof OF((gzFile file)); ZEXTERN int ZEXPORT gzdirect OF((gzFile file)); /* Returns true (1) if file is being copied directly while reading, or false - (0) if file is a gzip stream being decompressed. This state can change from - false to true while reading the input file if the end of a gzip stream is - reached, but is followed by data that is not another gzip stream. + (0) if file is a gzip stream being decompressed. If the input file is empty, gzdirect() will return true, since the input does not contain a gzip stream.