diff options
| author | Damien Neil <dneil@google.com> | 2022-11-29 20:07:02 -0500 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-12-02 19:48:47 +0000 |
| commit | 79559c1e7e426415ea8c7920c36b2fb4ebd7dbf0 (patch) | |
| tree | 967b1af9416a59a8f79ede5ca5bfd026295505c3 /src/runtime/debug | |
| parent | a79b55bb9a5f459fd8d518223022a6d307354a27 (diff) | |
| download | go-79559c1e7e426415ea8c7920c36b2fb4ebd7dbf0.tar.xz | |
path/filepath: make Join("c:", "/a") return "c:/a" again
Historically, on Windows filepath.Join("c:", elt) does not insert
a path separator between "c:" and elt, but preserves leading slashes
in elt. Restore this behavior, which was inadvertently changed by
CL 444280.
Fixes #56988
Change-Id: Id728bf311f4093264f8c067d8b801ea9ebef5b5f
Reviewed-on: https://go-review.googlesource.com/c/go/+/453497
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Run-TryBot: Damien Neil <dneil@google.com>
Diffstat (limited to 'src/runtime/debug')
0 files changed, 0 insertions, 0 deletions
