aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/manager.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-30 07:38:10 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-30 07:38:10 +0000
commit47cae281a4e6e35b679ebde3419dec8fc6d71e07 (patch)
treec2b2688239234e9704874f053e55e610c07806eb /linuxthreads/manager.c
parente4d1a04a3cacc84392750a00b68b1f99c80cba26 (diff)
downloadglibc-47cae281a4e6e35b679ebde3419dec8fc6d71e07.tar
glibc-47cae281a4e6e35b679ebde3419dec8fc6d71e07.tar.gz
glibc-47cae281a4e6e35b679ebde3419dec8fc6d71e07.tar.bz2
glibc-47cae281a4e6e35b679ebde3419dec8fc6d71e07.zip
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.
Diffstat (limited to 'linuxthreads/manager.c')
-rw-r--r--linuxthreads/manager.c4
1 files changed, 2 insertions, 2 deletions
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;