mirror of https://github.com/madler/zlib.git
Z_BUF_ERROR was also being used for an unsuccessful gzungetc and for buffer lengths that didn't fit in an int. Those uses were changed to Z_DATA_ERROR in order to assure that Z_BUF_ERROR occurs only when a premature end of input occurs, indicating that gzclearerr() can be used.pull/2/head
parent
377173b57e
commit
850a198ff1
2 changed files with 3 additions and 3 deletions
Loading…
Reference in new issue