diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-08-08 15:44:46 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-08-08 15:44:46 +0000 |
commit | ac3f49cb8024c62c4f48182371091e9a52a19273 (patch) | |
tree | 31f8684c59eb4f890f5bfd651a94238f9627e978 /libpthread/linuxthreads/pthread.c | |
parent | 58b57e65cc2cee5f33260bef009c074409669564 (diff) |
Patch from Stefan Allius and Edie C. Dost:
In linuxthreads/errno.h the functions __errno_location and
__h_errno_location wasn't safe against calling before the
library is initialized.
Diffstat (limited to 'libpthread/linuxthreads/pthread.c')
-rw-r--r-- | libpthread/linuxthreads/pthread.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libpthread/linuxthreads/pthread.c b/libpthread/linuxthreads/pthread.c index 90c770879..548f83a5f 100644 --- a/libpthread/linuxthreads/pthread.c +++ b/libpthread/linuxthreads/pthread.c @@ -349,8 +349,10 @@ int __pthread_initialize_manager(void) NOMMU_INITIAL_THREAD_BOUNDS(__pthread_manager_thread_tos,__pthread_manager_thread_bos); PDEBUG("manager stack: size=%d, bos=%p, tos=%p\n", THREAD_MANAGER_STACK_SIZE, __pthread_manager_thread_bos, __pthread_manager_thread_tos); +#if 0 PDEBUG("initial stack: estimate bos=%p, tos=%p\n", - __pthread_initial_thread_bos, __pthread_initial_thread_tos); + __pthread_initial_thread_bos, __pthread_initial_thread_tos); +#endif /* Setup pipe to communicate with thread manager */ if (pipe(manager_pipe) == -1) { |