Build failure on Linux - strnicmp undefined

Eli Zaretskii eliz@is.elta.co.il
Fri Dec 1 10:17:00 GMT 2000


> Date: Fri, 01 Dec 2000 17:12:10 +0000
> From: Fernando Nasser <fnasser@cygnus.com>
> 
> The following change prevents GDB to build on Linux machines (and perhaps
> others) where "strnicmp()" is not defined.
> 
> Note that the ChangeLog entry has the wrong date.  It was checked in this 
> morning.
> 
> I reverted it in my sandbox.  If we can't get hold of Pierre because of
> time differences I will revert the patch in the repository as well.

It might be much better to replace strnicmp with strncasecmp.


More information about the Gdb-patches mailing list