[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60450] load fails to read MAT file
From: |
Dmitri A. Sergatskov |
Subject: |
[Octave-bug-tracker] [bug #60450] load fails to read MAT file |
Date: |
Sat, 24 Apr 2021 08:44:08 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Follow-up Comment #3, bug #60450 (project octave):
I really do not understand this, but I saw in the FAQ:
http://zlib.net/zlib_faq.html#faq05
deflate() or inflate() returns Z_BUF_ERROR.
Before making the call, make sure that avail_in and avail_out are not zero.
When setting the parameter flush equal to Z_FINISH, also make sure that
avail_out is big enough to allow processing all pending input. Note that a
Z_BUF_ERROR is not fatal--another call to deflate() or inflate() can be made
with more input or output space. A Z_BUF_ERROR may in fact be unavoidable
depending on how the functions are used, since it is not possible to tell
whether or not there is more output pending when strm.avail_out returns with
zero. See http://zlib.net/zlib_how.html for a heavily annotated example.
Just fyi.
Dmitri.
--
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60450>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #60450] load fails to read MAT file, John W. Eaton, 2021/04/23
- [Octave-bug-tracker] [bug #60450] load fails to read MAT file, John W. Eaton, 2021/04/23
- [Octave-bug-tracker] [bug #60450] load fails to read MAT file, John W. Eaton, 2021/04/24
- [Octave-bug-tracker] [bug #60450] load fails to read MAT file,
Dmitri A. Sergatskov <=
- [Octave-bug-tracker] [bug #60450] load fails to read MAT file, John W. Eaton, 2021/04/24
- [Octave-bug-tracker] [bug #60450] load fails to read MAT file, Philip Nienhuis, 2021/04/25
- [Octave-bug-tracker] [bug #60450] load fails to read MAT file, Philip Nienhuis, 2021/04/25
- [Octave-bug-tracker] [bug #60450] load fails to read MAT file, Rik, 2021/04/25
- [Octave-bug-tracker] [bug #60450] load fails to read MAT file, Philip Nienhuis, 2021/04/25
- [Octave-bug-tracker] [bug #60450] load fails to read MAT file, Dmitri A. Sergatskov, 2021/04/25
- [Octave-bug-tracker] [bug #60450] load fails to read MAT file, Dmitri A. Sergatskov, 2021/04/25
- [Octave-bug-tracker] [bug #60450] load fails to read MAT file, Philip Nienhuis, 2021/04/26
- [Octave-bug-tracker] [bug #60450] load fails to read MAT file, Philip Nienhuis, 2021/04/26
- [Octave-bug-tracker] [bug #60450] load fails to read MAT file, John W. Eaton, 2021/04/26