From 3e8faa640fa49f432060097e8dabbf8e4ecc2ef9 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 4 Dec 2008 10:18:53 -0800 Subject: [PATCH] fix build - forgot these files TBR=r OCL=20448 CL=20448 --- src/lib/syscall/mksignal | 26 +++++++++++++++ src/lib/syscall/signal_amd64_darwin.go | 43 ++++++++++++++++++++++++ src/lib/syscall/signal_amd64_linux.go | 46 ++++++++++++++++++++++++++ 3 files changed, 115 insertions(+) create mode 100755 src/lib/syscall/mksignal create mode 100644 src/lib/syscall/signal_amd64_darwin.go create mode 100644 src/lib/syscall/signal_amd64_linux.go 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 <