From 12b5b6b7f78ea111e89bbf638294a5413c791072 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 11 May 1999 13:00:20 +0000 Subject: Update. 1999-05-11 Ulrich Drepper * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy. * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects lazily if LD_BIND_NOW is not set. * elf/dl-support.c (_dl_lazy): New variable. (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar. * elf/rtld.c (_dl_lazy): new global variable. ( dl_main): Remove lazy, replace it by _dl_lazy. 1999-05-06 Andreas Schwab * locale/setlocale.c (new_composite_name): Check also whether the first category name differs. 1999-05-11 Andreas Schwab * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not the generic one. 1999-05-11 Philip Blundell * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New structure; storage suitable for any socket address. * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage): Likewise. * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct sockaddr_storage): Likewise. * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit platform. --- locale/setlocale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'locale/setlocale.c') diff --git a/locale/setlocale.c b/locale/setlocale.c index 5f152e3bba..1482465f43 100644 --- a/locale/setlocale.c +++ b/locale/setlocale.c @@ -149,7 +149,7 @@ new_composite_name (int category, const char *newnames[LC_ALL]) _nl_current_names[i]); last_len = strlen (name); cumlen += _nl_category_name_sizes[i] + 1 + last_len + 1; - if (i > 0 && same && strcmp (name, newnames[0]) != 0) + if (same && strcmp (name, newnames[0]) != 0) same = 0; } -- cgit v1.2.3