bugGNU Octave - Bugs: bug #48597, bunzip2 and gunzip remove original...


bug #48597: bunzip2 and gunzip remove original files

Submitted by:  Carnë Draug <carandraug>
Submitted on:  Fri 22 Jul 2016 03:38:18 PM UTC  
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 01 Oct 2018 02:17:15 PM UTC, comment #3:

Closing this as duplicate of bug #43206, which up to now addresses only gunzip.

The error needs to be fixed in unpack, thus affects bunzip2 and gunzip.

Kai Torben Ohlhus <siko1056>
Project Member
Sun 24 Jul 2016 01:38:50 PM UTC, comment #2:

Here's a test case demonstrating the issue:

Carnë Draug <carandraug>
Project Member
Fri 22 Jul 2016 04:43:46 PM UTC, comment #1:

An alternative fix would be to directly uze the zlib and bz2 libraries in C++. bz2 is pretty easy to use. zlib is only slightly more complicated. This has already been done for bzip2 and gzip.

Carnë Draug <carandraug>
Project Member
Fri 22 Jul 2016 03:38:18 PM UTC, original submission:

The functions bzip2 and gzip will remove the original after unpack. This can be fixed by using the --kep opion for this applications. However, this is only present on recent versions (Ubuntu 12.04 gunzip do not have this option).

Carnë Draug <carandraug>
Project Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


   bug dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by siko1056 (Posted a comment)
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by carandraug (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-10-01 siko1056 Item GroupNone => Matlab Compatibility
        StatusNone => Duplicate
        Open/ClosedOpen => Closed
        Dependencies- => Depends on bugs #43206
    2016-07-29 jwe CategoryNone => Octave Function
    2016-07-22 carandraug Summarybunzip2 and gzip remove original files => bunzip2 and gunzip remove original files

    Back to the top

    Powered by Savane 3.3