bug-gzip
[Top][All Lists]
Advanced

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

Re: [PATCH v3] gzip: add "--keep" option to keep (don't delete) input fi


From: Antonio Diaz Diaz
Subject: Re: [PATCH v3] gzip: add "--keep" option to keep (don't delete) input files
Date: Wed, 13 Feb 2013 17:00:50 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

Rodrigo Campos wrote:
Also, this patch changes "--stdout" which "Write output on standard output; keep
original files unchanged" to imply "-k"

I think this is a bug. "to_stdout" and "keep" should be kept separate, or else "gzip -l" could delete the input file.

-    if (!to_stdout)
+    if (!to_stdout && !keep)



reply via email to

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