linuxthreads compile fix

Jes Sorensen jes@linuxcare.com
Wed Mar 21 13:26:00 GMT 2001


Hi

I believe this one must have slipped in by mistake as I can't find any
reference to the amp variable anywhere.

Jes

2001-03-21  Jes Sorensen  <jes@linuxcare.com>

	* pthread.c (__pthread_initialize_manager): Remove reference to
	non existant amp variable.

--- linuxthreads/pthread.c~	Tue Mar 20 17:30:23 2001
+++ linuxthreads/pthread.c	Wed Mar 21 16:19:02 2001
@@ -495,7 +495,7 @@
   struct pthread_request request;
 
 #ifndef HAVE_Z_NODELETE
-  if (__builtin_expect (&__dso_handle != NULL, 1))
+  if (__builtin_expect (__dso_handle != NULL, 1))
     __cxa_atexit ((void (*) (void *)) pthread_atexit_retcode, NULL,
 		  __dso_handle);
 #endif



More information about the Libc-hacker mailing list