]> Cypherpunks repositories - gostls13.git/commit
os: use backslashes for DirFS on Windows
authorIan Lance Taylor <iant@golang.org>
Sat, 27 Aug 2022 02:22:50 +0000 (19:22 -0700)
committerGopher Robot <gobot@golang.org>
Sun, 2 Oct 2022 02:31:18 +0000 (02:31 +0000)
commit82e357d6d5944fc5b0293085a0305fe328c505ea
tree96be050a1c926d7391427113b20f71a75d24feaf
parent4585bf96b4025f18682122bbd66d4f2a010b3ac9
os: use backslashes for DirFS on Windows

Otherwise DirFS of a UNC path does not work.

Fixes #54694

Change-Id: I82c1c436f7c26b3935c2cc4fd238daf094fc4d86
Reviewed-on: https://go-review.googlesource.com/c/go/+/426094
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: hopehook <hopehook@golangcn.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
src/os/file.go