diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-12-08 19:03:56 -0800 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-12-10 22:33:24 -0800 |
commit | 421c7a61f08ff255bf898f0e687b7d7c8fbdae77 (patch) | |
tree | 7abc5d3f6fe5120c1afbe468211c10ab9a763901 /msdos | |
parent | fb00fda903bbd128952a8ecac4b4f6b459245012 (diff) | |
download | zlib-421c7a61f08ff255bf898f0e687b7d7c8fbdae77.tar.gz zlib-421c7a61f08ff255bf898f0e687b7d7c8fbdae77.tar.bz2 zlib-421c7a61f08ff255bf898f0e687b7d7c8fbdae77.zip |
Have inflate() with Z_FINISH avoid the allocation of a window.
inflate() avoided that allocation normally, until it was modified to
update the window on a normal completion so that inflateResetKeep()
could work. This patch restores that behavior, but only when
Z_FINISH is used successfully to complete an inflation of a stream in
a single call of inflate(). The comments in zlib.h have been updated
accordingly.
Diffstat (limited to 'msdos')
0 files changed, 0 insertions, 0 deletions