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

Unified Diff: runtime/bin/file_win.cc

Issue 9694045: Change lookup path for Dart native extensions shared libraries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix isAbsolutePath, remove trailing whitespace. Created 8 years, 9 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
Index: runtime/bin/file_win.cc
diff --git a/runtime/bin/file_win.cc b/runtime/bin/file_win.cc
index c598380db140b948651da597483807531632a853..e1737b9efa6b6d68a8365207b915a63294f7d1b7 100644
--- a/runtime/bin/file_win.cc
+++ b/runtime/bin/file_win.cc
@@ -162,7 +162,7 @@ bool File::IsAbsolutePath(const char* pathname) {
if (pathname == NULL) return false;
return (strlen(pathname) > 2) &&
(pathname[1] == ':') &&
- (pathname[2] == '\\');
+ (pathname[2] == '\\' || pathname[2] == '/');
}

Powered by Google App Engine
This is Rietveld 408576698