diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2018-04-30 16:24:07 +0000 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-04-30 18:10:46 +0000 |
| commit | 3c7456c1b01253188be93290a1746fbeb5d4d27f (patch) | |
| tree | ba006b1e45808c8888d800d89bd8e086af9dd2e9 /src/cmd/vendor/github.com | |
| parent | 4bced5e9461429ae90245b0048c6fa5ff39a3947 (diff) | |
| download | go-3c7456c1b01253188be93290a1746fbeb5d4d27f.tar.xz | |
os: find Hostname using Uname to fix Android
It's also fewer system calls. Fall back to longer read
only if it seems like the Uname result is truncated.
Fixes #24701
Change-Id: Ib6550acede8dddaf184e8fa9de36377e17bbddab
Reviewed-on: https://go-review.googlesource.com/110295
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/cmd/vendor/github.com')
0 files changed, 0 insertions, 0 deletions
