summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/patches/100-signal_handler_crash_workaround.patch
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-20 16:42:18 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-20 16:42:18 +0000
commitb5d59a3b1c9d4a19ed29b769c4bb6d2317d2c31f (patch)
treeee742ce7693831fdfbdf99b473e11758a83da18a /toolchain/uClibc/patches/100-signal_handler_crash_workaround.patch
parent96bfbf41a79a399cebc3273380339b4319e850ec (diff)
update to uClibc v0.9.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2200 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/uClibc/patches/100-signal_handler_crash_workaround.patch')
-rw-r--r--toolchain/uClibc/patches/100-signal_handler_crash_workaround.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches/100-signal_handler_crash_workaround.patch b/toolchain/uClibc/patches/100-signal_handler_crash_workaround.patch
new file mode 100644
index 000000000..72cdb7212
--- /dev/null
+++ b/toolchain/uClibc/patches/100-signal_handler_crash_workaround.patch
@@ -0,0 +1,13 @@
+diff -ur uClibc-0.9.28/libc/sysdeps/linux/mips/sigaction.c uClibc-0.9.28.openwrt/libc/sysdeps/linux/mips/sigaction.c
+--- uClibc-0.9.28/libc/sysdeps/linux/mips/sigaction.c 2005-08-18 00:49:44.000000000 +0200
++++ uClibc-0.9.28.openwrt/libc/sysdeps/linux/mips/sigaction.c 2005-10-20 13:19:05.000000000 +0200
+@@ -49,7 +49,8 @@
+ memcpy (&kact.sa_mask, &act->sa_mask, sizeof (kact.sa_mask));
+ kact.sa_flags = act->sa_flags;
+
+- kact.sa_flags = act->sa_flags | SA_RESTORER;
++/* http://bugs.uclibc.org/view.php?id=480
++ kact.sa_flags = act->sa_flags | SA_RESTORER; */
+ #ifdef HAVE_SA_RESTORER
+ kact.sa_restorer = act->sa_restorer;
+ #endif