From 47cae281a4e6e35b679ebde3419dec8fc6d71e07 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 30 Aug 2000 07:38:10 +0000 Subject: Update. * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the official file. * iconvdata/TESTS: Add BIG5HKSCS entry. * iconvdata/testdata/BIG5HKSCS: New file. * iconvdata/testdata/BIG5HKSCS..UTF8: New file. * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is always true. --- linuxthreads/ChangeLog | 5 +++++ linuxthreads/manager.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'linuxthreads') diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index 0a2339948a..e55344bb4c 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,8 @@ +2000-08-30 Ulrich Drepper + + * manager.c (pthread_allocate_stack): Clear descriptor only if not + mmaped. + 2000-08-25 Ulrich Drepper * Makefile: Add rules to build and run unload. diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c index 1510551374..6531775458 100644 --- a/linuxthreads/manager.c +++ b/linuxthreads/manager.c @@ -330,6 +330,8 @@ static int pthread_allocate_stack(const pthread_attr_t *attr, #ifndef THREAD_SELF __pthread_nonstandard_stacks = 1; #endif + /* Clear the thread data structure. */ + memset (new_thread, '\0', sizeof (*new_thread)); } else { @@ -448,8 +450,6 @@ static int pthread_allocate_stack(const pthread_attr_t *attr, # endif #endif /* !NEED_SEPARATE_REGISTER_STACK */ } - /* Clear the thread data structure. */ - memset (new_thread, '\0', sizeof (*new_thread)); *out_new_thread = new_thread; *out_new_thread_bottom = new_thread_bottom; *out_guardaddr = guardaddr; -- cgit 1.4.1