From c70ca1fa69c9a95108664b4132b7188a686cc9e4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 27 Oct 1998 14:19:07 +0000 Subject: Update. * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version. Instead call the system call wrapper function using an 64bit argument. * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise. --- linuxthreads/pthread.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'linuxthreads/pthread.c') diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c index c7cfdac796..d0c66d0329 100644 --- a/linuxthreads/pthread.c +++ b/linuxthreads/pthread.c @@ -340,11 +340,12 @@ int __pthread_create_2_0(pthread_t *thread, const pthread_attr_t *attr, { size_t ps = __getpagesize (); - memcpy (&new_attr, attr, (size_t) &(((pthread_attr_t*)NULL)->guardsize)); - new_attr.guardsize = ps; - new_attr.stackaddr_set = 0; - new_attr.stackaddr = NULL; - new_attr.stacksize = STACK_SIZE - ps; + memcpy (&new_attr, attr, + (size_t) &(((pthread_attr_t*)NULL)->__guardsize)); + new_attr.__guardsize = ps; + new_attr.__stackaddr_set = 0; + new_attr.__stackaddr = NULL; + new_attr.__stacksize = STACK_SIZE - ps; attr = &new_attr; } return __pthread_create_2_1 (thread, attr, start_routine, arg); -- cgit v1.2.3