]> git.lizzy.rs Git - zlib.git/commitdiff
Correct documentation of gzdirect() since junk at end now ignored.
authorMark Adler <madler@alumni.caltech.edu>
Sun, 2 Oct 2011 19:13:50 +0000 (12:13 -0700)
committerMark Adler <madler@alumni.caltech.edu>
Sun, 2 Oct 2011 19:13:50 +0000 (12:13 -0700)
zlib.h

diff --git a/zlib.h b/zlib.h
index b780e6c334ae1ca0419cd224364e904ca2c1c0a3..8050bddc176420d0f70d13c178ae1e0a589804f5 100644 (file)
--- 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.