From aa2c6b6df52d86f1a2f3d2b7c91be720192e2290 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 24 Aug 2006 06:48:22 +0000 Subject: * posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, not __USE_UNIX98. * posix/bits/unistd.h: Likewise. --- ChangeLog | 6 ++++++ localedata/ChangeLog | 4 ++++ localedata/locales/bn_BD | 4 ++-- localedata/locales/en_NZ | 5 +++-- nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c | 3 ++- posix/bits/unistd.h | 2 +- posix/unistd.h | 2 +- 7 files changed, 19 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2adc7bb44f..3e7bfab399 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-05-21 Joseph S. Myers + + * posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, not + __USE_UNIX98. + * posix/bits/unistd.h: Likewise. + 2006-05-15 Mike Frysinger [BZ #2751] diff --git a/localedata/ChangeLog b/localedata/ChangeLog index f31a0d049a..3894ca6919 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,7 @@ +2006-08-23 Ulrich Drepper + + * locales/en_NZ: Define am/pm formats. + 2006-08-22 Ulrich Drepper * locales/nn_NO: Copy more categories from nb_NO. diff --git a/localedata/locales/bn_BD b/localedata/locales/bn_BD index 196b42dbc3..23f821ad6e 100644 --- a/localedata/locales/bn_BD +++ b/localedata/locales/bn_BD @@ -73,7 +73,7 @@ END LC_NUMERIC LC_TIME abday ""; / "";/ - "";/ + "";/ "";/ "";/ "";/ @@ -81,7 +81,7 @@ abday ""; / day "";/ "";/ - "";/ + "";/ "";/ "";/ "";/ diff --git a/localedata/locales/en_NZ b/localedata/locales/en_NZ index d3f7e636cf..82470f57c3 100644 --- a/localedata/locales/en_NZ +++ b/localedata/locales/en_NZ @@ -111,8 +111,9 @@ mon "";/ d_t_fmt "" d_fmt "" t_fmt "" -am_pm "";"" -t_fmt_ampm "" +am_pm "";"" +t_fmt_ampm "/ +" date_fmt "/ / " diff --git a/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c b/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c index 7c21d88ef3..4e0001af91 100644 --- a/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c +++ b/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c @@ -61,5 +61,6 @@ __libc_pthread_init (ptr, reclaim, functions) libc_freeres_fn (freeres_libptread) { - __libc_pthread_functions.ptr_freeres (); + if (__libc_pthread_functions.ptr_freeres != NULL) + __libc_pthread_functions.ptr_freeres (); } diff --git a/posix/bits/unistd.h b/posix/bits/unistd.h index 96f26d5482..b08aef2f6c 100644 --- a/posix/bits/unistd.h +++ b/posix/bits/unistd.h @@ -198,7 +198,7 @@ __NTH (ttyname_r (int __fd, char *__buf, size_t __buflen)) } -#if defined __USE_REENTRANT || defined __USE_UNIX98 +#if defined __USE_REENTRANT || defined __USE_POSIX199506 extern int __getlogin_r_chk (char *__buf, size_t __buflen, size_t __nreal) __nonnull ((1)); extern int __REDIRECT (__getlogin_r_alias, (char *__buf, size_t __buflen), diff --git a/posix/unistd.h b/posix/unistd.h index c7a52722ca..b751928b1e 100644 --- a/posix/unistd.h +++ b/posix/unistd.h @@ -811,7 +811,7 @@ extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __THROW; This function is a possible cancellation points and therefore not marked with __THROW. */ extern char *getlogin (void); -#if defined __USE_REENTRANT || defined __USE_UNIX98 +#if defined __USE_REENTRANT || defined __USE_POSIX199506 /* Return at most NAME_LEN characters of the login name of the user in NAME. If it cannot be determined or some other error occurred, return the error code. Otherwise return 0. -- cgit 1.4.1