Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Issue 13578003: Fix directory-listing, directory-deletion and file deletion, when links are involved. (Closed)

Created:
7 years, 8 months ago by Anders Johnsen
Modified:
7 years, 8 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix directory-listing, directory-deletion and file deletion, when links are involved. BUG=https://code.google.com/p/dart/issues/detail?id=4928,https://code.google.com/p/dart/issues/detail?id=9278,https://code.google.com/p/dart/issues/detail?id=9504 Committed: https://code.google.com/p/dart/source/detail?r=20929

Patch Set 1 #

Patch Set 2 : Fix Windows issues. #

Patch Set 3 : Fix file-system link test. #

Total comments: 8

Patch Set 4 : Use Link for Link removal. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -19 lines) Patch
M runtime/bin/directory_android.cc View 4 chunks +5 lines, -2 lines 0 comments Download
M runtime/bin/directory_linux.cc View 4 chunks +5 lines, -2 lines 0 comments Download
M runtime/bin/directory_macos.cc View 4 chunks +6 lines, -3 lines 0 comments Download
M runtime/bin/directory_win.cc View 1 1 chunk +19 lines, -3 lines 0 comments Download
M runtime/bin/file_win.cc View 1 chunk +12 lines, -5 lines 0 comments Download
M tests/standalone/io/directory_test.dart View 1 2 3 2 chunks +97 lines, -0 lines 0 comments Download
M tests/standalone/io/file_system_links_test.dart View 1 2 2 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Anders Johnsen
7 years, 8 months ago (2013-04-04 13:56:52 UTC) #1
Søren Gjesse
lgtm with comments https://codereview.chromium.org/13578003/diff/3007/tests/standalone/io/directory_test.dart File tests/standalone/io/directory_test.dart (right): https://codereview.chromium.org/13578003/diff/3007/tests/standalone/io/directory_test.dart#newcode273 tests/standalone/io/directory_test.dart:273: new File(l.path).deleteSync(); As discussed on chat ...
7 years, 8 months ago (2013-04-04 14:42:35 UTC) #2
Anders Johnsen
Committed patchset #4 manually as r20929 (presubmit successful).
7 years, 8 months ago (2013-04-04 17:30:37 UTC) #3
Anders Johnsen
Sadly, I can't test with links to files due to Windows limitation. Landing without such ...
7 years, 8 months ago (2013-04-05 10:58:27 UTC) #4
Bill Hesse
LGTM. I will add documentation for these behaviors in a followup CL.
7 years, 8 months ago (2013-04-08 08:11:05 UTC) #5
Bill Hesse
7 years, 8 months ago (2013-04-08 09:09:04 UTC) #6
Message was sent while issue was closed.
LGTM.  I will add documentation for these behaviors in a followup CL.

Powered by Google App Engine
This is Rietveld 408576698