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 FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating 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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by jwe (Updated the item)
  • -unavailable- added by carandraug (Submitted the item)

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

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 29 Jul 2016 08:15:23 PM UTCjweCategoryNone=>Octave Function
    Fri 22 Jul 2016 04:10:55 PM UTCcarandraugSummarybunzip2 and gzip remove original files=>bunzip2 and gunzip remove original files

    Back to the top

    Powered by Savane 3.1-cleanup1