]> Cypherpunks repositories - gostls13.git/commitdiff
os: use a different symbol from syscall in mkunixsignals.sh.
authorDavid Symonds <dsymonds@golang.org>
Thu, 30 Jun 2011 03:35:40 +0000 (13:35 +1000)
committerDavid Symonds <dsymonds@golang.org>
Thu, 30 Jun 2011 03:35:40 +0000 (13:35 +1000)
Open is more likely to be present than Syscall.

R=rsc
CC=golang-dev
https://golang.org/cl/4645073

src/pkg/os/mkunixsignals.sh

index 6ec764cbd9b0dd10ce6c3bf6010c7d5a5e5dc90c..4bbc43f3deccd4dba1f6beb436435e99be96472e 100755 (executable)
@@ -14,7 +14,7 @@ import (
   "syscall"
 )
 
-var _ = syscall.Syscall  // in case there are zero signals
+var _ = syscall.Open  // in case there are zero signals
 
 const (
 EOH