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

Issue 23621039: Fix create symlink in windows by using an absolute path instead. (Closed)

Created:
7 years, 3 months ago by Siggi Cherem (dart-lang)
Modified:
7 years, 3 months ago
Reviewers:
Jennifer Messerly
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix create symlink in windows by using an absolute path instead. Committed: https://code.google.com/p/dart/source/detail?r=27443

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M pkg/polymer/lib/src/barback_runner.dart View 1 chunk +3 lines, -1 line 2 comments Download

Messages

Total messages: 8 (0 generated)
Siggi Cherem (dart-lang)
7 years, 3 months ago (2013-09-12 18:35:47 UTC) #1
Siggi Cherem (dart-lang)
tbr
7 years, 3 months ago (2013-09-12 18:37:24 UTC) #2
Siggi Cherem (dart-lang)
Committed patchset #1 manually as r27443 (presubmit successful).
7 years, 3 months ago (2013-09-12 18:37:52 UTC) #3
Jennifer Messerly
https://codereview.chromium.org/23621039/diff/1/pkg/polymer/lib/src/barback_runner.dart File pkg/polymer/lib/src/barback_runner.dart (right): https://codereview.chromium.org/23621039/diff/1/pkg/polymer/lib/src/barback_runner.dart#newcode243 pkg/polymer/lib/src/barback_runner.dart:243: var targetPath = Platform.operatingSystem == 'windows' is this a ...
7 years, 3 months ago (2013-09-12 19:32:00 UTC) #4
Siggi Cherem (dart-lang)
On 2013/09/12 19:32:00, John Messerly wrote: > https://codereview.chromium.org/23621039/diff/1/pkg/polymer/lib/src/barback_runner.dart > File pkg/polymer/lib/src/barback_runner.dart (right): > > https://codereview.chromium.org/23621039/diff/1/pkg/polymer/lib/src/barback_runner.dart#newcode243 ...
7 years, 3 months ago (2013-09-12 19:32:59 UTC) #5
Jennifer Messerly
https://codereview.chromium.org/23621039/diff/1/pkg/polymer/lib/src/barback_runner.dart File pkg/polymer/lib/src/barback_runner.dart (right): https://codereview.chromium.org/23621039/diff/1/pkg/polymer/lib/src/barback_runner.dart#newcode243 pkg/polymer/lib/src/barback_runner.dart:243: var targetPath = Platform.operatingSystem == 'windows' On 2013/09/12 19:32:00, ...
7 years, 3 months ago (2013-09-12 19:38:08 UTC) #6
Siggi Cherem (dart-lang)
On 2013/09/12 19:38:08, John Messerly wrote: > https://codereview.chromium.org/23621039/diff/1/pkg/polymer/lib/src/barback_runner.dart > File pkg/polymer/lib/src/barback_runner.dart (right): > > https://codereview.chromium.org/23621039/diff/1/pkg/polymer/lib/src/barback_runner.dart#newcode243 ...
7 years, 3 months ago (2013-09-12 19:42:35 UTC) #7
Jennifer Messerly
7 years, 3 months ago (2013-09-12 19:53:57 UTC) #8
Message was sent while issue was closed.
On 2013/09/12 19:42:35, Siggi Cherem (dart-lang) wrote:
> On 2013/09/12 19:38:08, John Messerly wrote:
> >
>
https://codereview.chromium.org/23621039/diff/1/pkg/polymer/lib/src/barback_r...
> > File pkg/polymer/lib/src/barback_runner.dart (right):
> > 
> >
>
https://codereview.chromium.org/23621039/diff/1/pkg/polymer/lib/src/barback_r...
> > pkg/polymer/lib/src/barback_runner.dart:243: var targetPath =
> > Platform.operatingSystem == 'windows'
> > On 2013/09/12 19:32:00, John Messerly wrote:
> > > is this a pathos bug or a dart:io bug?
> > > 
> > > (we shouldn't need platform specific checks in a pure-Dart library, IMO)
> > 
> > suggestion: remove the == 'windows' check and make the path absolute always.
> 
> yeah, I was debating about it. I sort-of like the relative symlinks enough to
> keep them around, but I can be persuaded otherwise. This is not a super
reason,
> but a couple bug reports this past week had a zip file which included relative
> symlinks, which magically work when you open them up =)

ah, gotcha. that's neat

Powered by Google App Engine
This is Rietveld 408576698