]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 14 Mar 2003 22:04:21 +0000 (22:04 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 14 Mar 2003 22:04:21 +0000 (22:04 +0000)
2003-03-14  Ulrich Drepper  <drepper@redhat.com>

* localedata/mn_MN: New file.
Contributed by Sanlig Badral <badral@chinggis.com>.

localedata/ChangeLog
nptl/ChangeLog
nptl/pthread_create.c

index 59905a63efa957c5485ec0f02589b088dca95130..8016801a777527e3abce212de91d0e7fbb456bf7 100644 (file)
@@ -1,3 +1,8 @@
+2003-03-14  Ulrich Drepper  <drepper@redhat.com>
+
+       * localedata/mn_MN: New file.
+       Contributed by Sanlig Badral <badral@chinggis.com>.
+
 2003-01-30  Ulrich Drepper  <drepper@redhat.com>
 
        * Makefile (LOCALES): Add vi_VN.TCVN5712-1.
index 27a30b1e2feb8c9dc5de1f509140fccce4076a65..6e4ea822b8f46ec99a9772b3005ccca6ce768b9a 100644 (file)
@@ -1,5 +1,7 @@
 2003-03-14  Ulrich Drepper  <drepper@redhat.com>
 
+       * pthread_create.c (start_thread): setjmp is expected to return 0.
+
        * sysdeps/x86_64/tls.h (THREAD_GETMEM): Mark asms volatile.
        (THREAD_GETMEM_NC): Likewise.
 
index 519d0c6f60fd45a1e320198f619d314388c2ea37..0eb7dc7c81f872d39223edf54035845b632b41d9 100644 (file)
@@ -221,7 +221,7 @@ start_thread (void *arg)
 
   /* This is where the try/finally block should be created.  For
      compilers without that support we do use setjmp.  */
-  if (setjmp (pd->cancelbuf) == 0)
+  if (__builtin_expect (setjmp (pd->cancelbuf) == 0, 1))
     {
       /* Run the code the user provided.  */
       THREAD_SETMEM (pd, result, pd->start_routine (pd->arg));