Skip to content

Commit

Permalink
* string/strcasestr.c (CMP_FUNC): Use __strncasecmp, not strncasecmp.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed May 16, 2008
1 parent 91c8a74 commit 74e1338
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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 changes: 4 additions & 0 deletions localedata/ChangeLog
Original file line number Diff line number Diff line change
@@ -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 changes: 2 additions & 1 deletion localedata/locales/iso14651_t1_common
Original file line number Diff line number Diff line change
@@ -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 changes: 1 addition & 1 deletion string/strcasestr.c
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 74e1338

Please sign in to comment.