]> Cypherpunks repositories - gostls13.git/commit
os: if dirFS.Open fails, undo use of backslashes in error message
authorIan Lance Taylor <iant@golang.org>
Tue, 4 Oct 2022 03:08:11 +0000 (20:08 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 6 Oct 2022 02:55:59 +0000 (02:55 +0000)
commit755a2927d8f5bb79952db8fd17bbdec1aed91518
treec9d085c58282c3b66018a8dd03dfd50fe6b605f6
parentc433cf189354f0b3a5e50716df57a94af5f22718
os: if dirFS.Open fails, undo use of backslashes in error message

This fixes a bug introduced by CL 426094 that caused the
golang.org/x/website/internal/web tests to fail.

Fixes #56034

Change-Id: Ic64967c6d440ad260b7283a18972b20023320ab6
Reviewed-on: https://go-review.googlesource.com/c/go/+/437976
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/os/file.go
src/os/os_test.go