diff options
| author | qmuntal <quimmuntal@gmail.com> | 2025-11-03 16:29:06 +0100 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-11-04 12:50:33 -0800 |
| commit | a5fe6791d79347d4c28af4b475b679ce7a726a28 (patch) | |
| tree | 2c06e374551b2b17d9035599ae0eb42ccd3ab871 /src/cmd | |
| parent | a7d174ccaada72b836c1c535f056d3fff5b2d528 (diff) | |
| download | go-a5fe6791d79347d4c28af4b475b679ce7a726a28.tar.xz | |
internal/syscall/windows: fix ReOpenFile sentinel error value
ReOpenFile is documented to return INVALID_HANDLE_VALUE on error,
but the previous definition was checking for 0 instead.
Change-Id: Idec5e75e40b9f6c409e068d63a9b606781e80a46
Reviewed-on: https://go-review.googlesource.com/c/go/+/717320
Auto-Submit: Quim Muntal <quimmuntal@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/cmd')
0 files changed, 0 insertions, 0 deletions
