GNU bug report logs - #38841
Enhancement request: Make show_help a bool

Previous Next

Package: grep;

Reported by: Emil Engler <me <at> emilengler.com>

Date: Wed, 1 Jan 2020 02:04:02 UTC

Severity: wishlist

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

Bug is archived. No further changes may be made.

Full log


Message #10 received at 38841-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Emil Engler <me <at> emilengler.com>
Cc: 38841-done <at> debbugs.gnu.org
Subject: Re: bug#38841: Enhancement request: Make show_help a bool
Date: Tue, 31 Dec 2019 23:17:52 -0800
On 12/31/19 5:52 PM, Emil Engler wrote:
> Hi, why is "static int show_help on line65 in src/grep.c a int?

Its address is taken in a long_options initializer, where the context requires
an int *. You could have found that out by changing it to bool and trying to
compile.




This bug report was last modified 5 years and 146 days ago.

Previous Next


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