Commit 5d805ca6 by Ian Lance Taylor

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
parent 48c0758a
893f0e4a707c6f10eb14842b18954486042f0fb3 0bcc1bc98dca48af40d9f54f4eacbbafaa30beb1
The first line of this file holds the git revision number of the last The first line of this file holds the git revision number of the last
merge done from the gofrontend repository. merge done from the gofrontend repository.
...@@ -56,7 +56,7 @@ echo ' _SIGSYS: {_SigThrow, "SIGSYS: bad system call"},' ...@@ -56,7 +56,7 @@ echo ' _SIGSYS: {_SigThrow, "SIGSYS: bad system call"},'
# Handle signals that are not supported on all systems. # Handle signals that are not supported on all systems.
checksig() { 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," echo " $1: $2,"
fi fi
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment