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

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

[Octave-bug-tracker] [bug #49760] gzip fails on certain files


From: Marcus
Subject: [Octave-bug-tracker] [bug #49760] gzip fails on certain files
Date: Sat, 3 Dec 2016 15:43:50 +0000 (UTC)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/602.2.14 (KHTML, like Gecko) Version/10.0.1 Safari/602.2.14

URL:
  <http://savannah.gnu.org/bugs/?49760>

                 Summary: gzip fails on certain files
                 Project: GNU Octave
            Submitted by: mclopez
            Submitted on: Sat 03 Dec 2016 03:43:49 PM GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Marcus
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.0
        Operating System: Mac OS

    _______________________________________________________

Details:

gzip fails to compress certain tar files.
In gzip.cc, deflateEnd returns Z_DATA_ERROR instead of Z_OK.
By changing the deflate function to more closely match the zlib example
<http://www.zlib.net/zlib_how.html>, the error went away.
Attached is a possible patch and a tar file that fails.
As I am using macOS, the tar file was created with bsdtar instead of gnutar.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 03 Dec 2016 03:43:49 PM GMT  Name: patch.diff  Size: 1kB   By:
mclopez

<http://savannah.gnu.org/bugs/download.php?file_id=39136>
-------------------------------------------------------
Date: Sat 03 Dec 2016 03:43:49 PM GMT  Name: optics-0.1.3-any-none.tar  Size:
264kB   By: mclopez

<http://savannah.gnu.org/bugs/download.php?file_id=39137>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49760>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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