From 5d805ca6229a56bc74337689d2a7129a14185e16 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 28 Feb 2017 15:09:43 +0000 Subject: [PATCH] libgo: fix quoting in mksigtab.sh The quoting was causing us to never add the system-specific signals. The test for this is misc/cgo/testcarchive in the master repo, which we don't yet run for gccgo. Reviewed-on: https://go-review.googlesource.com/37453 From-SVN: r245776 --- gcc/go/gofrontend/MERGE | 2 +- libgo/mksigtab.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 9cf7ec34f4a..46b0d1cd3e1 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -893f0e4a707c6f10eb14842b18954486042f0fb3 +0bcc1bc98dca48af40d9f54f4eacbbafaa30beb1 The first line of this file holds the git revision number of the last merge done from the gofrontend repository. diff --git a/libgo/mksigtab.sh b/libgo/mksigtab.sh index d33b7e2ff0b..78b1655a517 100644 --- a/libgo/mksigtab.sh +++ b/libgo/mksigtab.sh @@ -56,7 +56,7 @@ echo ' _SIGSYS: {_SigThrow, "SIGSYS: bad system call"},' # Handle signals that are not supported on all systems. checksig() { - if grep 'const $1 = ' gen-sysinfo.go >/dev/null 2>&1; then + if grep "const $1 = " gen-sysinfo.go >/dev/null 2>&1; then echo " $1: $2," fi } -- 2.30.2