GNU bug report logs - #54290
zdiff can not handle options properly

Previous Next

Package: gzip;

Reported by: Lv Ying <lvying6 <at> huawei.com>

Date: Mon, 7 Mar 2022 12:12:02 UTC

Severity: normal

Merged with 35209, 54291, 54298

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: Paul Eggert <eggert <at> cs.ucla.edu>
To: Lv Ying <lvying6 <at> huawei.com>
Cc: fanwentao <at> huawei.com, 54290 <at> debbugs.gnu.org
Subject: bug#54290: Reply for zdiff-fix-arg-handling-bug.patch
Date: Tue, 8 Mar 2022 13:09:26 -0800
[Message part 1 (text/plain, inline)]
On 3/7/22 18:22, Lv Ying via GNU gzip discussion and bug reports. wrote:

> However this manual separation job can not handle filename before options.
> ...
> getopt command from util-linux can handle such situation

We try to keep gzip portable to a wide variety of platforms, even those 
with ancient shells that lack getopt. I reworked zdiff.in to handle 
filenames before options (without using getopt) and installed the 
attached additional patch.

Please let us know of further problems by replying to this email and 
cc'ing to 54290 <at> debbugs.gnu.org (there should be no need to open a new 
bug report).
[0001-zdiff-fix-another-arg-handling-bug.patch (text/x-patch, attachment)]

This bug report was last modified 3 years and 50 days ago.

Previous Next


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