Opened 9 years ago

Closed 9 years ago

#4936 closed bug (fixed)

[Expander] overwrites .gz after extracting

Reported by: diver Owned by: korli
Priority: normal Milestone: R1
Component: Applications/Expander Version: R1/alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description (last modified by mmadia)

Open /boot/system/data/Canna/default and try to unpack any .gz file.

The compressed file will be removed after extracting its contents.

Attachments (1)

ExpanderKeepGzAfterExtraction.patch (1.1 KB) - added by mmadia 9 years ago.
replaces ExpanderRules's rule for extracting *.gz

Download all attachments as: .zip

Change History (4)

comment:1 Changed 9 years ago by mmadia

Description: modified (diff)

Changed 9 years ago by mmadia

replaces ExpanderRules's rule for extracting *.gz

comment:2 Changed 9 years ago by mmadia

The attach patch changes Expander's behavior to decompress *.gz to stdout, which is piped into another instance of gunzip that reads stdin. This will preserve the original file. As an additional note, luroh has reported "looks like freebsd's gzip has had the -k option added http://www.freebsd.org/cgi/query-pr.cgi?pr=113397"

comment:3 Changed 9 years ago by korli

Resolution: fixed
Status: newclosed

Applied in hrev34715. Thanks!

Note: See TracTickets for help on using tickets.