projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d8d3ba
)
re PR go/64573 (Cmd.Start swallows error from fork()/clone())
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Fri, 23 Jan 2015 23:45:04 +0000
(23:45 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Fri, 23 Jan 2015 23:45:04 +0000
(23:45 +0000)
PR go/64573
syscall: Restore line somehow lost in libgo merge.
From-SVN: r220068
libgo/go/syscall/exec_unix.go
patch
|
blob
|
history
diff --git
a/libgo/go/syscall/exec_unix.go
b/libgo/go/syscall/exec_unix.go
index 6bf28cc8ac22809926b77fc2fdcb421c32686e41..a49d95bc94ce8912350d8447a72985eb8b4342fe 100644
(file)
--- a/
libgo/go/syscall/exec_unix.go
+++ b/
libgo/go/syscall/exec_unix.go
@@
-226,6
+226,7
@@
func forkExec(argv0 string, argv []string, attr *ProcAttr) (pid int, err error)
// Kick off child.
pid, err1 = forkAndExecInChild(argv0p, argvp, envvp, chroot, dir, attr, sys, p[1])
if err1 != 0 {
+ err = Errno(err1)
goto error
}
ForkLock.Unlock()