]> Cypherpunks repositories - gostls13.git/commit
os: fix Args setup on Windows
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 24 Sep 2014 22:50:54 +0000 (18:50 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 24 Sep 2014 22:50:54 +0000 (18:50 -0400)
commit665a4166650d088c067130eb41f8f95efb9c12ed
treecc61b52212f36a31fb4904365cd43b7660ad43a1
parent75cca0526dc00ffeacc2aecfa6a0263a5f276e8b
os: fix Args setup on Windows

Should fix the Windows build. Untested.

on Windows, args are made by src/os/exec_windows.go, not package runtime.
runtimeĀ·goargs has if(Windows) return;

The two init funcs in pkg os were conflicting, with the second
overwriting Args back to an empty slice.

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/143540044
src/os/proc.go