From: Albert Strasheim Date: Wed, 15 Feb 2012 05:31:20 +0000 (-0800) Subject: syscall: Make Pdeathsig type Signal in SysProcAttr on Linux. X-Git-Tag: weekly.2012-02-22~230 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=571d6fc5e8a77e5444390b02b25859365cdf45bc;p=gostls13.git syscall: Make Pdeathsig type Signal in SysProcAttr on Linux. R=rsc, iant, iant CC=golang-dev https://golang.org/cl/5656058 --- diff --git a/src/pkg/syscall/exec_linux.go b/src/pkg/syscall/exec_linux.go index b9ce3676e4..70f3e6217b 100644 --- a/src/pkg/syscall/exec_linux.go +++ b/src/pkg/syscall/exec_linux.go @@ -18,7 +18,7 @@ type SysProcAttr struct { Setpgid bool // Set process group ID to new pid (SYSV setpgrp) Setctty bool // Set controlling terminal to fd 0 Noctty bool // Detach fd 0 from controlling terminal - Pdeathsig int // Signal that the process will get when its parent dies (Linux only) + Pdeathsig Signal // Signal that the process will get when its parent dies (Linux only) } // Fork, dup fd onto 0..len(fd), and exec(argv0, argvv, envv) in child.