]> Cypherpunks repositories - gostls13.git/commit
os: fix findOneDriveDir to expand REG_SZ registry values
authorGeorge Adams <georgeadams1995@gmail.com>
Wed, 30 Oct 2024 11:07:27 +0000 (11:07 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 31 Oct 2024 19:21:20 +0000 (19:21 +0000)
commit325ee1ce3dae4879b00fb06059e8d33d49d6ba11
treed24a2f16bed39f402a3992d671e1a455d685cc8b
parent99d60c24e23d4d97ce51b1ee5660b60a5651693a
os: fix findOneDriveDir to expand REG_SZ registry values

On some Windows systems the SOFTWARE\Microsoft\OneDrive registry key is REG_SZ rather than REG_EXPAND_SZ.

Change-Id: I3ccb8771377a73456f48da1b5cfae668130b3f7b
Reviewed-on: https://go-review.googlesource.com/c/go/+/623515
Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
src/os/os_windows_test.go