diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2018-04-30 22:55:05 +0000 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-05-01 15:55:49 +0000 |
| commit | 6a8cff57309ba3168844640b2da2ea3103d594fd (patch) | |
| tree | bcac7dca3c1dac904c1c9a4e49892d85dd7c6c74 /src/runtime/string.go | |
| parent | d46980995be7a88713b27f829fb9f2cd9b307fa7 (diff) | |
| download | go-6a8cff57309ba3168844640b2da2ea3103d594fd.tar.xz | |
os: fix missing break bug in earlier CL 110295's use of Uname
The Uname name was never being used because it always generated a
too-long string.
The new test looking for zero bytes wouldn't have caught it (I thought
it would've), but is still nice to have.
Updates #24701
Change-Id: I2648074452609e4ad1b9736973e1b3a95eac658d
Reviewed-on: https://go-review.googlesource.com/110436
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/string.go')
0 files changed, 0 insertions, 0 deletions
