This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

linuxthreads compile fix


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 (&amp;__dso_handle != NULL, 1))
+  if (__builtin_expect (__dso_handle != NULL, 1))
     __cxa_atexit ((void (*) (void *)) pthread_atexit_retcode, NULL,
 		  __dso_handle);
 #endif


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]