* string/strcasestr.c (CMP_FUNC): Use __strncasecmp, not strncasecmp.

This commit is contained in:
Ulrich Drepper 2008-05-16 18:19:18 +00:00
parent 91c8a74b8b
commit 74e1338588
4 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2008-05-16 Ulrich Drepper <drepper@redhat.com> 2008-05-16 Ulrich Drepper <drepper@redhat.com>
* string/strcasestr.c (CMP_FUNC): Use __strncasecmp, not strncasecmp.
* sysdeps/posix/getaddrinfo.c (gaih_inet): After gethostbyname4_r * sysdeps/posix/getaddrinfo.c (gaih_inet): After gethostbyname4_r
lookup, don't assign canon unconditionally. lookup, don't assign canon unconditionally.

View File

@ -1,3 +1,7 @@
2008-05-16 Ulrich Drepper <drepper@redhat.com>
* locales/iso14651_t1_common: Remove duplicate U0C7B definition.
2008-05-14 Ulrich Drepper <drepper@redhat.com> 2008-05-14 Ulrich Drepper <drepper@redhat.com>
[BZ #6438] [BZ #6438]

View File

@ -3416,7 +3416,8 @@ order_start <TELUGU>;forward;forward;forward;forward,position
<U0C15> <t-ka>;<BAS>;<MIN>;IGNORE <U0C15> <t-ka>;<BAS>;<MIN>;IGNORE
<U0C16> <t-kha>;<BAS>;<MIN>;IGNORE <U0C16> <t-kha>;<BAS>;<MIN>;IGNORE
<U0C17> <t-ga>;<BAS>;<MIN>;IGNORE <U0C17> <t-ga>;<BAS>;<MIN>;IGNORE
<U0C7B> <t-gga>;<BAS>;<MIN>;IGNORE #XXX This is wrong since there is already a definition for U0C7B.
#<U0C7B> <t-gga>;<BAS>;<MIN>;IGNORE
<U0C18> <t-gha>;<BAS>;<MIN>;IGNORE <U0C18> <t-gha>;<BAS>;<MIN>;IGNORE
<U0C19> <t-nga>;<BAS>;<MIN>;IGNORE <U0C19> <t-nga>;<BAS>;<MIN>;IGNORE
<U0C1A> <t-ca>;<BAS>;<MIN>;IGNORE <U0C1A> <t-ca>;<BAS>;<MIN>;IGNORE

View File

@ -46,7 +46,7 @@
&& ((h_l) = (j) + (n_l))) && ((h_l) = (j) + (n_l)))
#define CANON_ELEMENT(c) TOLOWER (c) #define CANON_ELEMENT(c) TOLOWER (c)
#define CMP_FUNC(p1, p2, l) \ #define CMP_FUNC(p1, p2, l) \
strncasecmp ((const char *) (p1), (const char *) (p2), l) __strncasecmp ((const char *) (p1), (const char *) (p2), l)
#include "str-two-way.h" #include "str-two-way.h"
#undef strcasestr #undef strcasestr