[PATCH] Fix pthread_attr_setstacksize on ia64/alpha/sparc*

Jakub Jelinek jakub@redhat.com
Thu Oct 26 16:46:00 GMT 2006


Hi!

pthread_attr_setstack.c and powerpc* pthread_attr_setstack{,size}.c get
this right, only pthread_attr_setstacksize can't be linked into
libpthread.so because VERSION_libpthread_2_3_3 is not in libpthread.map.

2006-10-26  Jakub Jelinek  <jakub@redhat.com>

	* pthread_attr_setstacksize.c (NEW_VERNUM): Define to GLIBC_2_3_3
	by default rather than 2_3_3.

--- libc/nptl/pthread_attr_setstacksize.c.jj	2006-10-08 15:43:23.000000000 +0200
+++ libc/nptl/pthread_attr_setstacksize.c	2006-10-26 18:33:37.000000000 +0200
@@ -23,7 +23,7 @@
 #include "pthreadP.h"
 
 #ifndef NEW_VERNUM
-# define NEW_VERNUM 2_3_3
+# define NEW_VERNUM GLIBC_2_3_3
 #endif
 
 

	Jakub



More information about the Libc-hacker mailing list