]> Cypherpunks repositories - gostls13.git/commit
syscall: Plan 9: keep a consistent environment array
authorAkshat Kumar <seed@mail.nanosouffle.net>
Thu, 28 Feb 2013 05:39:02 +0000 (06:39 +0100)
committerRon Minnich <rminnich@gmail.com>
Thu, 28 Feb 2013 05:39:02 +0000 (06:39 +0100)
commit1f62a784f49d2c0d62b4c0dfcab5fcfdeeb493a4
tree4aa3f38f0fa0fb7ed7475198a4ed157806bb7331
parent65983695fb8e3b0ba0859f964ad0a41e3e4ca2c3
syscall: Plan 9: keep a consistent environment array

Map order is non-deterministic. Introduce a new
environment string array that tracks the env map.
This allows us to produce identical results for
Environ() upon successive calls, as expected by the
TestConsistentEnviron test in package os.

R=rsc, ality, rminnich, bradfitz, r
CC=golang-dev
https://golang.org/cl/7411047
src/pkg/syscall/env_plan9.go