diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-08-24 06:48:22 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-08-24 06:48:22 +0000 |
commit | aa2c6b6df52d86f1a2f3d2b7c91be720192e2290 (patch) | |
tree | 61f1c546f0fed05c2d70fc6c0c1ce6085bf3dff0 /nptl | |
parent | ba408f846541f7279ef12858545abac1c26719e7 (diff) | |
download | glibc-aa2c6b6df52d86f1a2f3d2b7c91be720192e2290.tar.gz |
* posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, not
__USE_UNIX98.
* posix/bits/unistd.h: Likewise.
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 (); } |