aboutsummaryrefslogtreecommitdiff
path: root/zlib.h
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-30 22:19:12 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-30 22:19:12 -0700
commit8768ba98af1cf44e9a24fa7dbdf013de4afecf62 (patch)
tree9391179a68d627b86802b5ef4d6a2d7d4c029204 /zlib.h
parentacfc85772a811f4c0efec835a3087b53f83f6079 (diff)
downloadzlib-8768ba98af1cf44e9a24fa7dbdf013de4afecf62.tar.gz
zlib-8768ba98af1cf44e9a24fa7dbdf013de4afecf62.tar.bz2
zlib-8768ba98af1cf44e9a24fa7dbdf013de4afecf62.zip
Fix gzclose() to return the actual error last encountered.
Diffstat (limited to 'zlib.h')
-rw-r--r--zlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zlib.h b/zlib.h
index d358a62..16b20ce 100644
--- a/zlib.h
+++ b/zlib.h
@@ -1446,7 +1446,7 @@ ZEXTERN int ZEXPORT gzclose OF((gzFile file));
1446 must not be called more than once on the same allocation. 1446 must not be called more than once on the same allocation.
1447 1447
1448 gzclose will return Z_STREAM_ERROR if file is not valid, Z_ERRNO on a 1448 gzclose will return Z_STREAM_ERROR if file is not valid, Z_ERRNO on a
1449 file operation error, or Z_OK on success. 1449 file operation error, Z_MEM_ERROR if out of memory, or Z_OK on success.
1450*/ 1450*/
1451 1451
1452ZEXTERN int ZEXPORT gzclose_r OF((gzFile file)); 1452ZEXTERN int ZEXPORT gzclose_r OF((gzFile file));