aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql
diff options
context:
space:
mode:
authorqmuntal <quimmuntal@gmail.com>2024-10-16 16:33:03 +0200
committerGopher Robot <gobot@golang.org>2024-10-21 18:32:52 +0000
commit67f662b29165a0fb27dd15e9370b6e411a653c95 (patch)
treee58afb008e3bf697f924e850afb76aa52893034a /src/database/sql
parent813d9ea524e4d75ef2e4aaa358e8b45ac8b3547c (diff)
downloadgo-67f662b29165a0fb27dd15e9370b6e411a653c95.tar.xz
internal/syscall/windows: set write access when O_TRUNC is used
Whenn O_TRUNC is set, Opentat ends up calling syscall.Ftruncate, which needs write access. Make sure write access is not removed when O_TRUNC and O_APPEND are both set. Updates #67002. Change-Id: Iccc470b7be3c62144318d6a707057504f3b74c97 Reviewed-on: https://go-review.googlesource.com/c/go/+/620576 Reviewed-by: Alex Brainman <alex.brainman@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Damien Neil <dneil@google.com> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions