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

Issue 10916206: Fix for Directory.exists on Windows using GetFileAttributes (Closed)

Created:
8 years, 3 months ago by Mads Ager (google)
Modified:
8 years, 3 months ago
Reviewers:
Søren Gjesse
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix for Directory.exists on Windows using GetFileAttributes based on patch from Alexander Aprelev. Discriminate different reasons for not being able to get the file attributes. Currently this makes no difference since both DOES_NOT_EXIST and UNKNOWN turn into a false return value from Directory.existsSync(). R=sgjesse@google.com BUG=3914 Committed: https://code.google.com/p/dart/source/detail?r=12106

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -25 lines) Patch
M runtime/bin/directory.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M runtime/bin/directory_win.cc View 2 chunks +13 lines, -19 lines 0 comments Download
M tests/standalone/io/directory_test.dart View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Mads Ager (google)
8 years, 3 months ago (2012-09-10 10:30:10 UTC) #1
Søren Gjesse
8 years, 3 months ago (2012-09-10 10:37:37 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698