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

Unified Diff: runtime/bin/platform_linux.cc

Issue 3007703002: [dart:io] Namespaces for file IO (Closed)
Patch Set: Created 3 years, 4 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/platform_linux.cc
diff --git a/runtime/bin/platform_linux.cc b/runtime/bin/platform_linux.cc
index 13297fa7e94501041ce8bad4603a7cf239e61a23..a085dff1773d4cdf9e993ce608a01fe85308671e 100644
--- a/runtime/bin/platform_linux.cc
+++ b/runtime/bin/platform_linux.cc
@@ -114,7 +114,7 @@ const char* Platform::GetExecutableName() {
}
const char* Platform::ResolveExecutablePath() {
- return File::LinkTarget("/proc/self/exe");
+ return File::ReadLink("/proc/self/exe");
}
void Platform::Exit(int exit_code) {

Powered by Google App Engine
This is Rietveld 408576698