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; |