mirror of https://github.com/madler/zlib.git
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.pull/30/head
parent
bd143f1c0a
commit
0cf495a1ca
1 changed files with 7 additions and 8 deletions
Loading…
Reference in new issue