Opened 10 years ago

Closed 10 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 10 years ago.
replaces ExpanderRules's rule for extracting *.gz

Download all attachments as: .zip

Change History (4)

comment:1 by mmadia, 10 years ago

Description: modified (diff)

by mmadia, 10 years ago

replaces ExpanderRules's rule for extracting *.gz

comment:2 by mmadia, 10 years ago

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 by korli, 10 years ago

Resolution: fixed
Status: newclosed

Applied in hrev34715. Thanks!

Note: See TracTickets for help on using tickets.