aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/test/testdata/pgo/devirtualize/devirt.pprof.node_map
diff options
context:
space:
mode:
authorqmuntal <quimmuntal@gmail.com>2024-03-25 16:37:05 +0100
committerQuim Muntal <quimmuntal@gmail.com>2024-03-27 19:06:55 +0000
commit2860e01853174e278900ef6907b1941b16fb1645 (patch)
treeab6f6468ff7bfd6f431806a4f3efac4166e977a0 /src/cmd/compile/internal/test/testdata/pgo/devirtualize/devirt.pprof.node_map
parent132f9fa9f8d52ac6ca38b5f3a65d67c1492a42c2 (diff)
downloadgo-2860e01853174e278900ef6907b1941b16fb1645.tar.xz
os: make readdir more robust on Windows
On Windows, File.readdir currently fails if the volume information can't be retrieved via GetVolumeInformationByHandle and if the directory path is relative and can't be converted to an absolute path. This change makes readdir more robust by not failing in these cases, as these steps are just necessary to support a potential call to os.SameFile, but not for the actual readdir operation. os.SameFile will still fail in these cases, but that's a separate issue tracked in #62042. Change-Id: I8d98d8379bdac4b2832fa433432a5f027756abaa Reviewed-on: https://go-review.googlesource.com/c/go/+/574155 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Alex Brainman <alex.brainman@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Than McIntosh <thanm@google.com>
Diffstat (limited to 'src/cmd/compile/internal/test/testdata/pgo/devirtualize/devirt.pprof.node_map')
0 files changed, 0 insertions, 0 deletions