mirror of
https://github.com/golang/go
synced 2024-11-20 03:24:41 -07:00
syscall: fix StartProcess in Plan 9
This makes os_test.TestStartProcess test from os package pass. R=paulzhol, r2, r CC=golang-dev https://golang.org/cl/4385052
This commit is contained in:
parent
e2348deeec
commit
8c1a703560
@ -363,7 +363,7 @@ func forkExec(argv0 string, argv []string, attr *ProcAttr) (pid int, err Error)
|
||||
p[1] = -1
|
||||
|
||||
// Convert args to C form.
|
||||
argv0p := StringBytePtr(argv[0])
|
||||
argv0p := StringBytePtr(argv0)
|
||||
argvp := StringArrayPtr(argv)
|
||||
|
||||
var chroot *byte
|
||||
|
Loading…
Reference in New Issue
Block a user