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

Unified Diff: runtime/bin/namespace_linux.cc

Issue 3008943002: [dart:io] Build fixes for Namespaces (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
« no previous file with comments | « runtime/bin/file_android.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/namespace_linux.cc
diff --git a/runtime/bin/namespace_linux.cc b/runtime/bin/namespace_linux.cc
index 72bc3ac8b4241920aa4cb869b8fd2d4a2342117f..828957ce4c58b0da94d52268eee9e9e198ee454f 100644
--- a/runtime/bin/namespace_linux.cc
+++ b/runtime/bin/namespace_linux.cc
@@ -18,7 +18,7 @@ namespace dart {
namespace bin {
Namespace* Namespace::Create(const char* path) {
- const intptr_t fd = TEMP_FAILURE_RETRY(open64(path, O_PATH));
+ const intptr_t fd = TEMP_FAILURE_RETRY(open64(path, O_DIRECTORY));
if (fd < 0) {
return NULL;
}
« no previous file with comments | « runtime/bin/file_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698