diff options
| author | qmuntal <quimmuntal@gmail.com> | 2025-08-19 13:00:02 +0200 |
|---|---|---|
| committer | Quim Muntal <quimmuntal@gmail.com> | 2025-08-20 10:33:51 -0700 |
| commit | 509d5f647ffc413bd874c2e2bf6d1b33f9bc0ac2 (patch) | |
| tree | c566db74cd33acb90133e0d2021da41b06f18c39 /src/errors | |
| parent | 853fc1273912b020e428c77d35e525c9225fd51e (diff) | |
| download | go-509d5f647ffc413bd874c2e2bf6d1b33f9bc0ac2.tar.xz | |
internal/poll: don't call Seek for overlapped Windows handles
Overlapped handles don't have the file pointer updated when performing
I/O operations, so there is no need to call FD.Seek to reset the file
pointer.
Also, some overlapped file handles don't support seeking. See #74951.
Fixes #74951.
Change-Id: I0edd53beed7d3862730f3b2ed5fe9ba490e66c06
Reviewed-on: https://go-review.googlesource.com/c/go/+/697295
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'src/errors')
0 files changed, 0 insertions, 0 deletions
