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

Unified Diff: sdk/lib/io/link.dart

Issue 13467025: dart:io | Add missing step to Link.create on Windows. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/link.dart
diff --git a/sdk/lib/io/link.dart b/sdk/lib/io/link.dart
index bce4bfb5ffdcd21729d13da805606ad6df1a5fde..d5ed8c49bcda58e0eafc4a1bf25f3035e739447f 100644
--- a/sdk/lib/io/link.dart
+++ b/sdk/lib/io/link.dart
@@ -125,6 +125,9 @@ class _Link extends FileSystemEntity implements Link {
Future<Link> create(String target) {
_ensureFileService();
+ if (Platform.operatingSystem == 'windows') {
Bill Hesse 2013/04/08 15:46:01 Copied from lines 145-147.
+ target = _makeWindowsLinkTarget(target);
+ }
List request = new List(3);
request[0] = _CREATE_LINK_REQUEST;
request[1] = path;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698