]> Cypherpunks repositories - gostls13.git/commit
os: in RemoveAll, try Remove first
authorIan Lance Taylor <iant@golang.org>
Wed, 12 Dec 2018 00:55:16 +0000 (16:55 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 12 Dec 2018 01:47:47 +0000 (01:47 +0000)
commitba1de79a3a542b5bf25c4cc3be1c91d1ede47c55
treee2abb5ff998b51941bbc24c4f5cf0dabe914dd9f
parentda6294a35abfb62825da3e27b8ba998e71a4d81d
os: in RemoveAll, try Remove first

Otherwise we can fail to remove a unreadable empty directory.

Fixes #29178

Change-Id: I43d5c89fce57a86626abe2a1c2bbf145716e087b
Reviewed-on: https://go-review.googlesource.com/c/153720
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/os/removeall_at.go
src/os/removeall_test.go