On Wed, Feb 13, 2013 at 06:07:59PM +0100, Antonio Diaz Diaz wrote:
> Rodrigo Campos wrote:
> >Not sure I follow you. If "--stdout" is used, keep is set to true (or to 1 
> >:))
> 
> Yes, but using --stdout is not the only way of setting to_stdout to
> true. --list, for example, sets to_stdout to true but does not set
> keep.
> 
> Then you made the change
> 
> -    if (!to_stdout)
> +    if (!keep)
> 
> removing to_stdout from the condition. So I guess "gzip --list file"
> will now delete "file".

Ohh, sorry, I didn't understand before. Well, it does not delete "file" now
(I've just tried), it seems that function is not called.

But it seems better to keep them separated, I'll send a new patch with this :-D




Thanks a lot for the review,

Rodrigo

Reply via email to