]> Cypherpunks.ru repositories - gostls13.git/commit
os/user: use correct size for initial call in retryWithBuffer
authorIan Lance Taylor <iant@golang.org>
Wed, 30 Aug 2023 18:28:54 +0000 (11:28 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 31 Aug 2023 00:56:17 +0000 (00:56 +0000)
commit9aaf5234bf652fc788782fc04a06044879b5957a
treebe2fe57948c66170a76870438d608c401e1da66f
parent71a0beb68d4c61ce7c7a9c7f8aa2189ccfe619b2
os/user: use correct size for initial call in retryWithBuffer

We were accidentally using the sysconf parameter constant.
Change to using the value of that sysconf parameter.

Change-Id: Id7668e7cced0ce7504df99dbbff0757d29dee8c8
Reviewed-on: https://go-review.googlesource.com/c/go/+/524555
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/os/user/cgo_lookup_unix.go