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:  None
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  Open
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.


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


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    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