diff options
| author | qmuntal <quimmuntal@gmail.com> | 2025-08-21 10:45:23 +0200 |
|---|---|---|
| committer | Quim Muntal <quimmuntal@gmail.com> | 2025-09-26 09:22:11 -0700 |
| commit | 7d7cd6e07b65d7583f1c7648fc042fbe30352313 (patch) | |
| tree | 8457de46f6a0d39a229136477812e1ea5183c01f /src/cmd/compile/internal/noder | |
| parent | 41cba31e66c979c413a4368c4f3d82ebadf0fb5b (diff) | |
| download | go-7d7cd6e07b65d7583f1c7648fc042fbe30352313.tar.xz | |
internal/poll: don't call SetFilePointerEx in Seek for overlapped handles
Overlapped handles don't have the file pointer updated when performing
I/O operations, so there is no need to call syscall.SetFilePointerEx in
FD.Seek. Updating the in-memory offset is sufficient.
Updates #74951 (provides a more complete fix)
Change-Id: Ibede6625cdbd501fc92cfdf8ce2782ec291af2b6
Reviewed-on: https://go-review.googlesource.com/c/go/+/698035
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
Diffstat (limited to 'src/cmd/compile/internal/noder')
0 files changed, 0 insertions, 0 deletions
