about summary refs log tree commit diff
path: root/linuxthreads
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
parente4d1a04a3cacc84392750a00b68b1f99c80cba26 (diff)
downloadglibc-47cae281a4e6e35b679ebde3419dec8fc6d71e07.tar.gz
glibc-47cae281a4e6e35b679ebde3419dec8fc6d71e07.tar.xz
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')
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/manager.c4
2 files changed, 7 insertions, 2 deletions
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  <drepper@redhat.com>
+
+	* manager.c (pthread_allocate_stack): Clear descriptor only if not
+	mmaped.
+
 2000-08-25  Ulrich Drepper  <drepper@redhat.com>
 
 	* 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;