]> Cypherpunks repositories - gostls13.git/commit
os: add check for ERROR_BAD_NETPATH in windows IsNotExist
authorAlex Brainman <alex.brainman@gmail.com>
Tue, 15 Sep 2015 06:59:20 +0000 (16:59 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Wed, 23 Sep 2015 04:51:45 +0000 (04:51 +0000)
commit646401bdf05e611f85f36b00b00fd28639181061
tree8163b3e48f66648b6e6ba01854ecd158f7681918
parentc604f48d243b235ec741c117b32bcf6c89ff6c66
os: add check for ERROR_BAD_NETPATH in windows IsNotExist

Otherwise IsNotExist does not account for not existent servers and shares.

Fixes #12374

Change-Id: I37f6850198f91dcb02a4a917b793339d7e30e934
Reviewed-on: https://go-review.googlesource.com/14579
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/os/error_windows.go
src/os/os_windows_test.go