From: Russ Cox Date: Thu, 4 Dec 2008 18:18:53 +0000 (-0800) Subject: fix build - forgot these files X-Git-Tag: weekly.2009-11-06~2576 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3e8faa640fa49f432060097e8dabbf8e4ecc2ef9;p=gostls13.git fix build - forgot these files TBR=r OCL=20448 CL=20448 --- diff --git a/src/lib/syscall/mksignal b/src/lib/syscall/mksignal new file mode 100755 index 0000000000..abf2608157 --- /dev/null +++ b/src/lib/syscall/mksignal @@ -0,0 +1,26 @@ +# Copyright 2009 The Go Authors. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + +my $command = "mksignal ". join(' ', @ARGV); + +print <){ + next if /SIGSTKSZ/; + next if /SIGEV_/; + if(/^#define\s+(SIG[^_\s]\w*)\s+([0-9]+)/){ + print " $1 = $2;\n"; + } +} + +print <