aboutsummaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorrlanhellas <ronaldo.lanhellas@gmail.com>2022-01-31 22:47:42 +0000
committerGopher Robot <gobot@golang.org>2022-05-08 17:19:07 +0000
commit4c565a5561e33e1d488116ea45c35d3ce408cf93 (patch)
treea6e4833ae246798717937168ec2ac1c4c066d0eb /src/debug
parent0ad74fd1dcb278b7d9348e9c8a46152bdab4c376 (diff)
downloadgo-4c565a5561e33e1d488116ea45c35d3ce408cf93.tar.xz
time: return ENOENT instead of ERROR_PATH_NOT_FOUND in windows
When using windows some users got a weird error (File not found) when the timezone database is not found. It happens because some methods in the time package don't treat ERROR_PATH_NOT_FOUND and ENOTDIR. To solve it was added a conversion to ENOTENT error. Fixes #50248 Change-Id: I11c84cf409e01eafb932aea43c7293c8218259b8 GitHub-Last-Rev: fe7fff90cbea06c4af41e5b2ecadea0d409e2c05 GitHub-Pull-Request: golang/go#50906 Reviewed-on: https://go-review.googlesource.com/c/go/+/381957 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/debug')
0 files changed, 0 insertions, 0 deletions