Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(603)

Issue 7411047: code review 7411047: syscall: Plan 9: keep a consistent environment array (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years ago by akumar
Modified:
12 years ago
Reviewers:
CC:
rsc, ality, rminnich, bradfitz, r, golang-dev
Visibility:
Public.

Description

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.

Patch Set 1 #

Patch Set 2 : diff -r 234c58b9499b https://code.google.com/p/go #

Patch Set 3 : diff -r 234c58b9499b https://code.google.com/p/go #

Total comments: 2

Patch Set 4 : diff -r 234c58b9499b https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -8 lines) Patch
M src/pkg/syscall/env_plan9.go View 1 2 3 6 chunks +12 lines, -8 lines 0 comments Download

Messages

Total messages: 5
akumar
Hello rsc@golang.org, ality@pbrane.org, rminnich@gmail.com, bradfitz@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to ...
12 years ago (2013-02-27 19:46:42 UTC) #1
r
https://codereview.appspot.com/7411047/diff/4001/src/pkg/syscall/env_plan9.go File src/pkg/syscall/env_plan9.go (right): https://codereview.appspot.com/7411047/diff/4001/src/pkg/syscall/env_plan9.go#newcode143 src/pkg/syscall/env_plan9.go:143: return a this is fine but you could eliminate ...
12 years ago (2013-02-27 19:49:47 UTC) #2
akumar
PTAL. https://codereview.appspot.com/7411047/diff/4001/src/pkg/syscall/env_plan9.go File src/pkg/syscall/env_plan9.go (right): https://codereview.appspot.com/7411047/diff/4001/src/pkg/syscall/env_plan9.go#newcode143 src/pkg/syscall/env_plan9.go:143: return a On 2013/02/27 19:49:47, r wrote: > ...
12 years ago (2013-02-28 01:54:57 UTC) #3
r
LGTM
12 years ago (2013-02-28 02:41:21 UTC) #4
rminnich
12 years ago (2013-02-28 05:39:06 UTC) #5
*** Submitted as https://code.google.com/p/go/source/detail?r=c08c995f8058 ***

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://codereview.appspot.com/7411047

Committer: Ron Minnich <rminnich@gmail.com>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b