aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-03-21 22:03:48 +0000
committerUlrich Drepper <drepper@redhat.com>2000-03-21 22:03:48 +0000
commitcb162e13ed384f33f2712b4fc976e70a1fa7d9c4 (patch)
tree70903f1d2797b4fe7786d4b761dbb9679af4fe85 /linuxthreads
parent5402148732d74b9deeade21ba1828f10ad574ef7 (diff)
downloadglibc-cb162e13ed384f33f2712b4fc976e70a1fa7d9c4.tar
glibc-cb162e13ed384f33f2712b4fc976e70a1fa7d9c4.tar.gz
glibc-cb162e13ed384f33f2712b4fc976e70a1fa7d9c4.tar.bz2
glibc-cb162e13ed384f33f2712b4fc976e70a1fa7d9c4.zip
Update.
2000-03-21 Ulrich Drepper <drepper@redhat.com> * include/shlib-compat.h (versioned_symbol): Give preprocessor the chance to expand VERSION_##lib##_##version.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/pthread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c
index 57bc15e512..ce26f0580b 100644
--- a/linuxthreads/pthread.c
+++ b/linuxthreads/pthread.c
@@ -389,13 +389,13 @@ static void pthread_initialize(void)
/* Register an exit function to kill all other threads. */
/* Do it early so that user-registered atexit functions are called
before pthread_exit_process. */
- if (__dso_handle)
+ if (&__dso_handle != NULL)
/* The cast is a bit unclean. The function expects two arguments but
we can only pass one. Fortunately this is not a problem since the
second argument of `pthread_exit_process' is simply ignored. */
__cxa_atexit((void (*) (void *)) pthread_exit_process, NULL, __dso_handle);
else
- on_exit (pthread_exit_process, NULL);
+ __on_exit (pthread_exit_process, NULL);
}
void __pthread_initialize(void)