aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/gob
diff options
context:
space:
mode:
authorDominik Honnef <dominik@honnef.co>2015-06-21 20:07:29 +0200
committerBrad Fitzpatrick <bradfitz@golang.org>2015-08-21 04:23:15 +0000
commitcb867d2fd64adc851f82be3c6eb6e38ec008930b (patch)
treeb6da6b194773ac4dcd019e7265994881eba59cc8 /src/encoding/gob
parent7fb7f53232def3bcd2e0f0dddac7c3ffc47bc5aa (diff)
downloadgo-cb867d2fd64adc851f82be3c6eb6e38ec008930b.tar.xz
os/user: don't depend on _SC_GETPW_R_SIZE_MAX on Linux
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>
Diffstat (limited to 'src/encoding/gob')
0 files changed, 0 insertions, 0 deletions