Opened 13 years ago

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

Download all attachments as: .zip

Change History (4)

comment:1 by mmadia, 12 years ago

Description: modified (diff)

by mmadia, 12 years ago

replaces ExpanderRules's rule for extracting *.gz

comment:2 by mmadia, 12 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"

comment:3 by korli, 12 years ago

Resolution: fixed
Status: newclosed

Applied in hrev34715. Thanks!

Note: See TracTickets for help on using tickets.