octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55427] save -v7 exits with "error compressing


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #55427] save -v7 exits with "error compressing data element"
Date: Thu, 1 Jul 2021 07:14:20 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36 Edg/91.0.864.59

Follow-up Comment #10, bug #55427 (project octave):

Thanks for the test program.

Instead of estimating the size of the destination buffer with our own
calculation, we could maybe use `compressBound`.
It looks like this function was added to zlib in version 1.2.0 (in 2003). So
we probably can use it without a configure check:
https://github.com/madler/zlib/blob/master/ChangeLog#L998

That fixes the error for me with the test program by @arb on mingw64. 

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55427>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]