Commit 7efb3707 by Ian Lance Taylor

mksigtab.sh: skip signals defined as other signals

    
    Fixes Solaris build.
    
    Patch by Rainer Orth.
    
    Reviewed-on: https://go-review.googlesource.com/37587

From-SVN: r245794
parent 7a1ae923
e1502234b5011a1ab859519f1f217dbf4369ec9b a4f445e18fb06a032a4399859f432e03245f1a7d
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,8 @@ echo ' _SIGSYS: {_SigThrow, "SIGSYS: bad system call"},' ...@@ -56,7 +56,8 @@ 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 \
&& ! grep "const $1 = _SIG" 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