+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.
+
2008-05-14 Ulrich Drepper <drepper@redhat.com>
* string/Makefile (distribute): Add str-two-way.h.
glibc-base := HEAD
DIST_BRANCH := devel
COLLECTION := dist-f8
-fedora-sync-date := 2008-05-15 07:35 UTC
-fedora-sync-tag := fedora-glibc-20080515T0735
+fedora-sync-date := 2008-05-16 21:52 UTC
+fedora-sync-tag := fedora-glibc-20080516T2152
Summary: The GNU libc libraries
Name: glibc
Version: @glibcversion@
-Release: 1
+Release: 2
# GPLv2+ is used in a bunch of programs, LGPLv2+ is used for libraries.
# Things that are linked directly into dynamically linked programs
# and shared libraries (e.g. crt files, lib*_nonshared.a) have an additional
%endif
%changelog
+* Fri May 16 2008 Jakub Jelinek <jakub@redhat.com> 2.8.90-2
+- fix getaddrinfo (#446801, #446808)
+
* Thu May 15 2008 Jakub Jelinek <jakub@redhat.com> 2.8.90-1
- update to trunk
- O(n) memmem/strstr/strcasestr
+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]
<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
&& ((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
if (status == NSS_STATUS_SUCCESS)
{
- canon = (*pat)->name;
+ if ((req->ai_flags & AI_CANONNAME) != 0 && canon == NULL)
+ canon = (*pat)->name;
while (*pat != NULL)
pat = &((*pat)->next);
return -EAI_IDN_ENCODE;
}
/* In case the output string is the same as the input
- string no new string has been allocated. Otherwise
+ string no new string has been allocated and we
make a copy. */
if (out == canon)
goto make_copy;