mirror of https://github.com/golang/go.git
Even Linux systems may not have _SC_GETPW_R_SIZE_MAX if using a different libc than glibc (e.g. musl). Instead of having special-cases for the BSDs, handle -1 correctly by always using a default buffer size. Fixes #11319. Change-Id: I8b1b260eb9830e6dbe7667f3f33d115ae4de4ce8 Reviewed-on: https://go-review.googlesource.com/13772 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> |
||
|---|---|---|
| .. | ||
| lookup.go | ||
| lookup_plan9.go | ||
| lookup_stubs.go | ||
| lookup_unix.go | ||
| lookup_windows.go | ||
| user.go | ||
| user_test.go | ||