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. --- nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nptl') 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 (); } -- cgit v1.2.3