]> Cypherpunks repositories - gostls13.git/commit
runtime: implement getenv for Plan 9
authorAnthony Martin <ality@pbrane.org>
Mon, 17 Dec 2012 16:07:40 +0000 (11:07 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 17 Dec 2012 16:07:40 +0000 (11:07 -0500)
commit432f18221fa77b814854053e751c125c9920886c
tree562c5f6d3f11c91afd0ee9aea3fda81d08cc54d0
parent94430937ac9330a4c7e8ed23659bc4475f520739
runtime: implement getenv for Plan 9

With this change the runtime can now read GOMAXPROCS, GOGC, etc.

I'm not quite sure how we missed this.

R=seed, lucio.dere, rsc
CC=golang-dev
https://golang.org/cl/6935062
src/pkg/runtime/env_plan9.c [new file with mode: 0644]
src/pkg/runtime/env_posix.c [new file with mode: 0644]
src/pkg/runtime/os_plan9.h
src/pkg/runtime/runtime.c
src/pkg/runtime/sys_plan9_386.s
src/pkg/runtime/sys_plan9_amd64.s