X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fc-strcasecmp.c;h=5adbdcc80e5de2859cffb3c14a787bd6d2686d98;hb=4779b635ef35c7b0bc4044fcb5bc746d06f158c4;hp=00e3025943bab4028b42e023ba3f18f7717f74fa;hpb=89e15da69a6c83aef9b0f324286465af40560ad9;p=gnulib.git diff --git a/lib/c-strcasecmp.c b/lib/c-strcasecmp.c index 00e302594..5adbdcc80 100644 --- a/lib/c-strcasecmp.c +++ b/lib/c-strcasecmp.c @@ -1,5 +1,5 @@ /* c-strcasecmp.c -- case insensitive string comparator in C locale - Copyright (C) 1998, 1999, 2005 Free Software Foundation, Inc. + Copyright (C) 1998-1999, 2005-2006, 2009-2013 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -12,12 +12,9 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program; if not, see . */ -#ifdef HAVE_CONFIG_H -# include -#endif +#include /* Specification. */ #include "c-strcase.h" @@ -42,7 +39,7 @@ c_strcasecmp (const char *s1, const char *s2) c2 = c_tolower (*p2); if (c1 == '\0') - break; + break; ++p1; ++p2;