GNU bug report logs - #18239
z suffix

Previous Next

Package: gzip;

Reported by: Sam Geeraerts <samgee <at> elmundolibre.be>

Date: Sun, 10 Aug 2014 16:51:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Sam Geeraerts <samgee <at> elmundolibre.be>
Subject: bug#18239: closed (Re: bug#18239: z suffix)
Date: Sun, 10 Aug 2014 23:32:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#18239: z suffix

which was filed against the gzip package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 18239 <at> debbugs.gnu.org.

-- 
18239: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18239
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Sam Geeraerts <samgee <at> elmundolibre.be>, 18239-done <at> debbugs.gnu.org
Subject: Re: bug#18239: z suffix
Date: Sun, 10 Aug 2014 16:31:10 -0700
[Message part 3 (text/plain, inline)]
Sam Geeraerts wrote:
> I've attached a patch
> that makes it work for me.

Thanks for re-reporting that.  I didn't see a patch in your email, but I 
installed one (attached); please give it a try.
[0001-gzip-fix-suffix-z-bug-Bug-18239.patch (text/plain, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Sam Geeraerts <samgee <at> elmundolibre.be>
To: bug-gzip <at> gnu.org
Subject: z suffix
Date: Sun, 10 Aug 2014 15:58:09 +0200
I would like to point out a bug that has already been reported last
year [1].

Observed behaviour:

$ echo foo > test
$ gzip --suffix z test
$ ls testz
testz
$ gzip -d --suffix z testz
gzip: testz: unknown suffix -- ignored

Expected behaviour:

$ gzip -d --suffix z testz
$ ls test
test

From the comment in function get_suffix I gather that the "z" suffix is
overlooked in the sequence of suffixes to try. I've attached a patch
that makes it work for me.

[1] http://lists.gnu.org/archive/html/bug-gzip/2013-07/msg00012.html

Kind regards,
Sam



This bug report was last modified 10 years and 276 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.