aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2012-09-29 22:23:47 -0700
committerMark Adler <madler@alumni.caltech.edu>2012-09-29 22:37:55 -0700
commit0cf495a1ca941428c0b11e2307cad760ae44993e (patch)
tree6fe9dc258ebf611ec6b809d49a97d8a21b8b6dce /doc
parentbd143f1c0a24075b2ec063a91f7b2b4b3b3b6ad8 (diff)
downloadzlib-0cf495a1ca941428c0b11e2307cad760ae44993e.tar.gz
zlib-0cf495a1ca941428c0b11e2307cad760ae44993e.tar.bz2
zlib-0cf495a1ca941428c0b11e2307cad760ae44993e.zip
Fix bug where gzopen(), gzclose() would write an empty file.
A gzopen() to write (mode "w") followed immediately by a gzclose() would output an empty zero-length file. What it should do is write an empty gzip file, with the gzip header, empty deflate content, and gzip trailer totalling 20 bytes. This fixes it to do that.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions