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

Issue 860343002: Fix issue with Link.target and Link.targetSync failing on some file systems (Closed)

Created:
5 years, 11 months ago by Søren Gjesse
Modified:
5 years, 11 months ago
Reviewers:
kustermann
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Fix issue with Link.target and Link.targetSync failing on some file systems Don't rely on information from lstat64 for the size of the link target. Get the actual length from just reading the link target. BUG=http://dartbug.com/21987 R=kustermann@google.com Committed: https://code.google.com/p/dart/source/detail?r=43066

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -10 lines) Patch
M runtime/bin/file_linux.cc View 1 1 chunk +12 lines, -5 lines 0 comments Download
M runtime/bin/file_macos.cc View 1 chunk +12 lines, -5 lines 0 comments Download
A tests/standalone/io/regress_21987_test.dart View 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Søren Gjesse
5 years, 11 months ago (2015-01-21 13:04:01 UTC) #1
kustermann
lgtm https://codereview.chromium.org/860343002/diff/1/runtime/bin/file_linux.cc File runtime/bin/file_linux.cc (left): https://codereview.chromium.org/860343002/diff/1/runtime/bin/file_linux.cc#oldcode371 runtime/bin/file_linux.cc:371: size_t target_size = link_stats.st_size; One alternative would be ...
5 years, 11 months ago (2015-01-22 09:00:19 UTC) #2
Søren Gjesse
https://codereview.chromium.org/860343002/diff/1/runtime/bin/file_linux.cc File runtime/bin/file_linux.cc (left): https://codereview.chromium.org/860343002/diff/1/runtime/bin/file_linux.cc#oldcode371 runtime/bin/file_linux.cc:371: size_t target_size = link_stats.st_size; On 2015/01/22 09:00:19, kustermann wrote: ...
5 years, 11 months ago (2015-01-22 10:25:52 UTC) #3
Søren Gjesse
5 years, 11 months ago (2015-01-22 10:27:17 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as 43066 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698