[Glibc-bsd-commits] r1631 - in trunk/glibc-2.3-head: patches upstream

Aurelien Jarno aurel32 at costa.debian.org
Tue Jul 25 00:24:52 UTC 2006


Author: aurel32
Date: 2006-07-25 00:24:51 +0000 (Tue, 25 Jul 2006)
New Revision: 1631

Added:
   trunk/glibc-2.3-head/upstream/thread_signals.patch
Removed:
   trunk/glibc-2.3-head/patches/thread_signals.patch
Log:
Move thread_signals.patch to upstream


Deleted: trunk/glibc-2.3-head/patches/thread_signals.patch
===================================================================
--- trunk/glibc-2.3-head/patches/thread_signals.patch	2006-07-24 23:01:02 UTC (rev 1630)
+++ trunk/glibc-2.3-head/patches/thread_signals.patch	2006-07-25 00:24:51 UTC (rev 1631)
@@ -1,47 +0,0 @@
-Status: in upstream as of 2006/07/24
-	see http://sourceware.org/bugzilla/show_bug.cgi?id=2383
-
-===================================================================
-RCS file: /cvs/glibc/linuxthreads/linuxthreads/pthread.c,v
-retrieving revision 1.140
-retrieving revision 1.141
-diff -u -r1.140 -r1.141
---- linuxthreads/pthread.c	2006/07/24 15:12:15	1.140
-+++ linuxthreads/pthread.c	2006/07/24 19:20:26	1.141
-@@ -37,7 +37,7 @@
- #include <not-cancel.h>
- 
- /* Sanity check.  */
--#if !defined __SIGRTMIN || (__SIGRTMAX - __SIGRTMIN) < 3
-+#if !defined PTHREAD_SIGBASE && (!defined __SIGRTMIN || (__SIGRTMAX - __SIGRTMIN) < 3)
- # error "This must not happen"
- #endif
- 
-@@ -181,9 +181,15 @@
-    platform does not support any real-time signals we will define the
-    values to some unreasonable value which will signal failing of all
-    the functions below.  */
-+#if defined (PTHREAD_SIGBASE)
-+int __pthread_sig_restart = PTHREAD_SIGBASE;
-+int __pthread_sig_cancel = PTHREAD_SIGBASE + 1;
-+int __pthread_sig_debug = PTHREAD_SIGBASE + 2;
-+#else
- int __pthread_sig_restart = __SIGRTMIN;
- int __pthread_sig_cancel = __SIGRTMIN + 1;
- int __pthread_sig_debug = __SIGRTMIN + 2;
-+#endif
- 
- extern int __libc_current_sigrtmin_private (void);
- 
-@@ -198,9 +204,11 @@
- 
-   if (__libc_current_sigrtmin_private () == -1)
-     {
-+#ifndef PTHREAD_SIGBASE
-       __pthread_sig_restart = SIGUSR1;
-       __pthread_sig_cancel = SIGUSR2;
-       __pthread_sig_debug = 0;
-+#endif
-     }
-   else
-     {

Copied: trunk/glibc-2.3-head/upstream/thread_signals.patch (from rev 1630, trunk/glibc-2.3-head/patches/thread_signals.patch)




More information about the Glibc-bsd-commits mailing list