]> Cypherpunks repositories - gostls13.git/commit
os: return an error when the argument of Mkdir on Windows is os.DevNull
authorConstantin Konstantinidis <constantinkonstantinidis@gmail.com>
Mon, 15 Jul 2019 04:32:40 +0000 (06:32 +0200)
committerAlex Brainman <alex.brainman@gmail.com>
Thu, 29 Aug 2019 09:53:56 +0000 (09:53 +0000)
commit5cf5a6fc5eca5e05ab7cd189a19196e73c5408c4
tree5dd002456536f92bbe4dcde33b6bd94226bff809
parentcb325fed43009d5197caa5b1afa859cbc0e39355
os: return an error when the argument of Mkdir on Windows is os.DevNull

Test added.

Fixes #24556

Change-Id: I4d1cd4513142edeea1a983fbfde46c2fccecab2a
Reviewed-on: https://go-review.googlesource.com/c/go/+/186139
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
src/os/file.go
src/os/os_windows_test.go
src/os/stat_windows.go