Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1500)

Issue 145860043: code review 145860043: os: avoid error result when dir is removed out from und... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 7 months ago by rsc
Modified:
9 years, 7 months ago
Reviewers:
brainman, bradfitz
CC:
golang-codereviews, bradfitz, r
Visibility:
Public.

Description

os: avoid error result when dir is removed out from under RemoveAll Fixes issue 7776.

Patch Set 1 #

Patch Set 2 : diff -r caab8f8714f596768307dfeb870ccc74f8e6e80b https://code.google.com/p/go/ #

Patch Set 3 : diff -r caab8f8714f596768307dfeb870ccc74f8e6e80b https://code.google.com/p/go/ #

Patch Set 4 : diff -r 0b30efcfcb51da33c6d350ff423235c87461146e https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -1 line) Patch
M src/os/os_test.go View 1 2 chunks +42 lines, -0 lines 0 comments Download
M src/os/path.go View 1 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 7
rsc
Hello golang-codereviews@googlegroups.com (cc: r), I'd like you to review this change to https://code.google.com/p/go/
9 years, 7 months ago (2014-09-17 20:55:52 UTC) #1
bradfitz
LGTM On Wed, Sep 17, 2014 at 4:55 PM, <rsc@golang.org> wrote: > Reviewers: golang-codereviews, > ...
9 years, 7 months ago (2014-09-17 20:57:52 UTC) #2
bradfitz
LGTM still but can you skip that test in testing.Short() mode? It's very fs-intensive. On ...
9 years, 7 months ago (2014-09-17 20:59:40 UTC) #3
rsc
On Wed, Sep 17, 2014 at 4:59 PM, Brad Fitzpatrick <bradfitz@golang.org> wrote: > LGTM still ...
9 years, 7 months ago (2014-09-17 21:04:46 UTC) #4
bradfitz
On Wed, Sep 17, 2014 at 5:04 PM, Russ Cox <rsc@golang.org> wrote: > On Wed, ...
9 years, 7 months ago (2014-09-17 21:35:00 UTC) #5
rsc
*** Submitted as https://code.google.com/p/go/source/detail?r=50e833e16e33 *** os: avoid error result when dir is removed out from ...
9 years, 7 months ago (2014-09-18 18:48:50 UTC) #6
brainman
9 years, 7 months ago (2014-09-18 23:45:03 UTC) #7
Message was sent while issue was closed.
This broke windows build:

--- FAIL: TestRemoveAllRace (0.11s)
	os_test.go:1441: unexpected error: *os.PathError, "open
C:\\Users\\WINDOW~1\\AppData\\Local\\Temp\\2\\issue611815586\\a\\b\\b\\a: Access
is denied."
	os_test.go:1441: unexpected error: *os.PathError, "remove
C:\\Users\\WINDOW~1\\AppData\\Local\\Temp\\2\\issue611815586\\a: Access is
denied."
FAIL
FAIL	os	1.783s
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b