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: Sam Geeraerts <samgee <at> elmundolibre.be>
To: 18239 <at> debbugs.gnu.org
Subject: bug#18239: 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.