bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38841: Enhancement request: Make show_help a bool


From: Paul Eggert
Subject: bug#38841: Enhancement request: Make show_help a bool
Date: Tue, 31 Dec 2019 23:17:52 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]