aboutsummaryrefslogtreecommitdiff
path: root/src/bytes/buffer_test.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2024-09-03 11:28:42 -0700
committerGopher Robot <gobot@golang.org>2024-09-03 20:21:45 +0000
commit57f4cf20996cf8b90b8f814c93db5dc18aaad99e (patch)
treeb0dcb56f71ba0be48ad51bf1a57353ce89765983 /src/bytes/buffer_test.go
parent8eefc3b8f0dde0c89110817af3eccf44c79aeef0 (diff)
downloadgo-57f4cf20996cf8b90b8f814c93db5dc18aaad99e.tar.xz
os: treat Getwd result of EINVAL/ERANGE the same as ENAMETOOLONG
At least Darwin and OpenBSD seem to return EINVAL if the resulting name would be too long. Solaris seems to return ERANGE. Fixes #69233 Fixes #69234 Change-Id: I9b51d41461e9576c633bf2fc0e96ca3e4d986255 Reviewed-on: https://go-review.googlesource.com/c/go/+/609579 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Michael Pratt <mpratt@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/bytes/buffer_test.go')
0 files changed, 0 insertions, 0 deletions