This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Build failure on Linux - strnicmp undefined
- To: fnasser at cygnus dot com
- Subject: Re: Build failure on Linux - strnicmp undefined
- From: "Eli Zaretskii" <eliz at is dot elta dot co dot il>
- Date: Fri, 01 Dec 2000 20:16:59 +0200
- CC: gdb-patches at sources dot redhat dot com, muller at cerbere dot u-strasbg dot fr
- References: <3A27DBEA.D403D88A@cygnus.com>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> 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.