bug-grep
[Top][All Lists]
Advanced

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

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


From: DAVID MONNIAUX
Subject: bug#34285: grep.c should #include <strings.h>
Date: Sat, 2 Feb 2019 10:08:55 +0100 (CET)

grep.c should #include <strings.h> because it uses strcasecmp, and POSIX says 
it is declared in <strings.h> 

Not doing so results in a warning about an undeclared function on some systems 
(including Kalray k1c), thus possibly in incorrect code being generated. 


Directeur de recherche au CNRS, laboratoire VERIMAG, équipe PACSS 
http://www-verimag.imag.fr/~monniaux/ 


reply via email to

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