octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #43206] gunzip deletes source files


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #43206] gunzip deletes source files
Date: Tue, 28 Sep 2021 13:32:33 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #21, bug #43206 (project octave):

When Octave invokes gzip with the -k option on your system, what happens?  I
expect something like


octave:1> unpack foo.gz
error: unpack: unarchiving program exited with status: 1
gzip: -k not supported in this version
Try `gzip --help' for more information.


so that we wouldn't need to add a test for the feature or version.  Users
would just get an error.  But if we wanted to, we could test to see whether -k
works as expected and issue a better error message.

If old versions of gzip do fail with an error like the one above, then I'm OK
with just closing this report.  But if gzip silently accepts the -k option and
doesn't preserve the original file, then maybe we could do more?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?43206>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]