]> Cypherpunks repositories - gostls13.git/commit
internal/syscall/windows: increase internal Windows O_ flags values
authorqmuntal <quimmuntal@gmail.com>
Wed, 20 Aug 2025 10:39:31 +0000 (12:39 +0200)
committerQuim Muntal <quimmuntal@gmail.com>
Sat, 23 Aug 2025 06:39:20 +0000 (23:39 -0700)
commitd86ec924993bfb824dfb6f618a46ea205fdbf261
tree99e619b69112b481bf77ccee0f93af6eae5aad50
parent9d3f7fda70900c9d311df1eb4656fe9f6d62c781
internal/syscall/windows: increase internal Windows O_ flags values

The lowercase o_ flags are invented values. These conflict with
constants that will soon be allowed by os.OpenFile, which values will
be mandated by the Windows API. To avoid this overlap, the internal
values have been increased to the 33-63 bit range, as the Windows ones
are in the 0-32 bit range.

Updates #73676

Change-Id: I0f657f3ed3403de150f1730a5a65ae887a18a4e9
Reviewed-on: https://go-review.googlesource.com/c/go/+/697363
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/internal/syscall/windows/at_windows.go
src/os/root_windows.go
src/syscall/types_windows.go