[Top][All Lists]

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

bug#34285: grep.c should #include <strings.h>

From: Paul Eggert
Subject: bug#34285: grep.c should #include <strings.h>
Date: Sun, 3 Feb 2019 11:50:31 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

Paul Eggert wrote:
I fixed it as part of installing the attached patches.

Come to think of it, grep shouldn't call strcasecmp here. It should call c_strcasecmp instead because the matching should be locale-independent. So I installed the attached further patch and there is no longer a need to include strings.h even on non-GNU platforms.

Attachment: 0001-grep-parse-color-arg-independent-of-locale.patch
Description: Text Data

reply via email to

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