summaryrefslogtreecommitdiff
path: root/system/gcc/337-gccgo-signal-sig34.patch
blob: 757d2f216b1c91c9c4ef248a2aa66613abe19fbf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- gcc-8.3.0/libgo/go/runtime/signal_gccgo.go.old	2018-01-10 05:15:52.000000000 +0000
+++ gcc-8.3.0/libgo/go/runtime/signal_gccgo.go	2019-03-03 05:19:28.000000000 +0000
@@ -111,7 +111,7 @@
 	if sigaction(i, nil, &sa) < 0 {
 		// On GNU/Linux glibc rejects attempts to call
 		// sigaction with signal 32 (SIGCANCEL) or 33 (SIGSETXID).
-		if GOOS == "linux" && (i == 32 || i == 33) {
+		if GOOS == "linux" && (i == 32 || i == 33 || i == 34) {
 			return _SIG_DFL
 		}
 		throw("sigaction read failure")