Author: ps-guest Date: 2009-08-26 18:51:56 +0000 (Wed, 26 Aug 2009) New Revision: 3782
Added: glibc-package/trunk/debian/patches/any/local-linuxthreads-kill_other.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: * any/local-linuxthreads-kill_other.diff, fixes ruby 1.9 testsuite failure Modified: glibc-package/trunk/debian/changelog =================================================================== --- glibc-package/trunk/debian/changelog 2009-08-25 14:09:19 UTC (rev 3781) +++ glibc-package/trunk/debian/changelog 2009-08-26 18:51:56 UTC (rev 3782) @@ -10,6 +10,9 @@ [ Samuel Thibault ] * Convert config_os' gnu-gnu into gnu to fix multiarch paths. + [ Petr Salinger ] + * any/local-linuxthreads-kill_other.diff, fixes ruby 1.9 testsuite failure + -- Aurelien Jarno <aure...@debian.org> Tue, 25 Aug 2009 16:08:24 +0200 eglibc (2.9-25) unstable; urgency=low Added: glibc-package/trunk/debian/patches/any/local-linuxthreads-kill_other.diff =================================================================== --- glibc-package/trunk/debian/patches/any/local-linuxthreads-kill_other.diff (rev 0) +++ glibc-package/trunk/debian/patches/any/local-linuxthreads-kill_other.diff 2009-08-26 18:51:56 UTC (rev 3782) @@ -0,0 +1,31 @@ + + + fixes ruby 1.9 testsuite failure t916 from #542927 + + +--- a/linuxthreads/pthread.c ++++ b/linuxthreads/pthread.c +@@ -1199,6 +1199,15 @@ + /* Reset the signal handlers behaviour for the signals the + implementation uses since this would be passed to the new + process. */ ++#if 1 ++ /* ++ do not do it as it is wrong. ++ the __pthread_kill_other_threads_np() is used just before exec, ++ the successfull one resets signals with handler into DFL behaviour anyway (in kernel), ++ the failed one needs the signal handler as before to allow creating of new threads ++ as already noted above ++ */ ++#else + sigemptyset(&sa.sa_mask); + sa.sa_flags = 0; + sa.sa_handler = SIG_DFL; +@@ -1206,6 +1215,7 @@ + __libc_sigaction(__pthread_sig_cancel, &sa, NULL); + if (__pthread_sig_debug > 0) + __libc_sigaction(__pthread_sig_debug, &sa, NULL); ++#endif + } + weak_alias (__pthread_kill_other_threads_np, pthread_kill_other_threads_np) + Modified: glibc-package/trunk/debian/patches/series =================================================================== --- glibc-package/trunk/debian/patches/series 2009-08-25 14:09:19 UTC (rev 3781) +++ glibc-package/trunk/debian/patches/series 2009-08-26 18:51:56 UTC (rev 3782) @@ -165,6 +165,7 @@ any/local-linuxthreads-defines.diff any/local-linuxthreads-fd.diff any/local-linuxthreads-gscope.diff +any/local-linuxthreads-kill_other.diff any/local-linuxthreads-lowlevellock.diff any/local-linuxthreads-fatalprepare.diff any/local-linuxthreads-ptw.diff -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org