]> Cypherpunks repositories - gostls13.git/commit
runtime: revert 6974:1f3c3696babb
authorAlex Brainman <alex.brainman@gmail.com>
Wed, 12 Jan 2011 00:48:15 +0000 (11:48 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Wed, 12 Jan 2011 00:48:15 +0000 (11:48 +1100)
commita41d85498eed6b606d261e3da84c760538d71b4f
treede37126515b85312a9bd61c1db4601ff291fe8f6
parent217693e93c23fed2f3224dfaf1eb730d8e5256bb
runtime: revert 6974:1f3c3696babb

I missed that environment is used during runtime setup,
well before go init() functions run. Implemented os-dependent
runtime.goenvs functions to allow for different unix, plan9 and
windows versions of environment discovery.

R=rsc, paulzhol
CC=golang-dev
https://golang.org/cl/3787046
src/pkg/os/env_windows.go
src/pkg/runtime/darwin/thread.c
src/pkg/runtime/freebsd/thread.c
src/pkg/runtime/linux/thread.c
src/pkg/runtime/plan9/thread.c
src/pkg/runtime/proc.c
src/pkg/runtime/runtime.c
src/pkg/runtime/runtime.h
src/pkg/runtime/string.goc
src/pkg/runtime/tiny/thread.c
src/pkg/runtime/windows/thread.c