]> git.lizzy.rs Git - zlib.git/commit
Clean up gz* function return values.
authorMark Adler <madler@alumni.caltech.edu>
Sat, 3 Dec 2016 16:18:56 +0000 (08:18 -0800)
committerMark Adler <madler@alumni.caltech.edu>
Sun, 4 Dec 2016 15:48:47 +0000 (07:48 -0800)
commit123f9cfaf7730dcc52c380eaf04c15dc3e0b15f8
treee5f159d765beaba71aa9d0493f7fd4e179fa06fe
parent9dc5a8585f429109ef1948ab71b6b71bfa7181e2
Clean up gz* function return values.

In some cases the return values did not match the documentation,
or the documentation did not document all of the return values.
gzprintf() now consistently returns negative values on error,
which matches the behavior of the stdio fprintf() function.
gzlib.c
gzwrite.c
zlib.h