Browse Source

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

cvs/glibc-2_9-branch cvs/fedora-glibc-20080516T2152
Ulrich Drepper 18 years ago
parent
commit
74e1338588
  1. 2
      ChangeLog
  2. 4
      localedata/ChangeLog
  3. 3
      localedata/locales/iso14651_t1_common
  4. 2
      string/strcasestr.c

2
ChangeLog

@ -1,5 +1,7 @@
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
lookup, don't assign canon unconditionally.

4
localedata/ChangeLog

@ -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>
[BZ #6438]

3
localedata/locales/iso14651_t1_common

@ -3416,7 +3416,8 @@ order_start <TELUGU>;forward;forward;forward;forward,position
<U0C15> <t-ka>;<BAS>;<MIN>;IGNORE
<U0C16> <t-kha>;<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
<U0C19> <t-nga>;<BAS>;<MIN>;IGNORE
<U0C1A> <t-ca>;<BAS>;<MIN>;IGNORE

2
string/strcasestr.c

@ -46,7 +46,7 @@
&& ((h_l) = (j) + (n_l)))
#define CANON_ELEMENT(c) TOLOWER (c)
#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"
#undef strcasestr

Loading…
Cancel
Save