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

Issue 12208109: Remove erroneous assert from Windows implementation of dart:io File.fullPath. (Closed)

Created:
7 years, 10 months ago by Bill Hesse
Modified:
7 years, 6 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Remove erroneous assert from Windows implementation of dart:io File.fullPath. BUG= Committed: https://code.google.com/p/dart/source/detail?r=18307

Patch Set 1 #

Patch Set 2 : Add fix of broken directory_test test. #

Patch Set 3 : underscores, not dashes #

Total comments: 2

Patch Set 4 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -64 lines) Patch
M runtime/bin/file_win.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/directory_test.dart View 1 2 4 chunks +19 lines, -63 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Bill Hesse
7 years, 10 months ago (2013-02-11 11:56:55 UTC) #1
Anders Johnsen
LGTM
7 years, 10 months ago (2013-02-11 12:33:06 UTC) #2
Bill Hesse
Added fix for /tmp issue.
7 years, 10 months ago (2013-02-11 13:35:00 UTC) #3
Bill Hesse
7 years, 10 months ago (2013-02-11 13:38:13 UTC) #4
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/12208109/diff/4001/runtime/bin/file_win.cc File runtime/bin/file_win.cc (left): https://codereview.chromium.org/12208109/diff/4001/runtime/bin/file_win.cc#oldcode212 runtime/bin/file_win.cc:212: ASSERT(written == (required_size - 1)); you can assert ...
7 years, 10 months ago (2013-02-11 13:42:12 UTC) #5
Anders Johnsen
7 years, 6 months ago (2013-06-11 12:23:37 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/12208109/diff/4001/runtime/bin/file_win.cc
File runtime/bin/file_win.cc (left):

https://codereview.chromium.org/12208109/diff/4001/runtime/bin/file_win.cc#ol...
runtime/bin/file_win.cc:212: ASSERT(written == (required_size - 1));
On 2013/02/11 13:42:12, Vyacheslav Egorov (Google) wrote:
> you can assert written < required_size

Good idea!

Powered by Google App Engine
This is Rietveld 408576698