]> Cypherpunks repositories - gostls13.git/commit
os: make IsExists also recognize syscall.ENOTEMPTY
authorBrad Fitzpatrick <bradfitz@golang.org>
Sun, 3 Apr 2016 00:44:39 +0000 (00:44 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sun, 3 Apr 2016 06:22:07 +0000 (06:22 +0000)
commit7c15b2ab4bfec46b07794c5406a438f993cdc56e
tree78c9fb2bc9cf94b55a8ad0085affecbf609987c6
parent0656da910a1750921961b0955f9150f326199847
os: make IsExists also recognize syscall.ENOTEMPTY

And adds missing tests.

Fixes #14970

Change-Id: I0dba02603bc245f555498cb5dd3e0a9d87c52353
Reviewed-on: https://go-review.googlesource.com/21467
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/os/error_test.go
src/os/error_unix.go
src/os/error_unix_test.go [new file with mode: 0644]
src/os/error_windows_test.go [new file with mode: 0644]