Index: native_client_sdk/src/libraries/nacl_io/filesystem.cc |
diff --git a/native_client_sdk/src/libraries/nacl_io/filesystem.cc b/native_client_sdk/src/libraries/nacl_io/filesystem.cc |
index feda1e76575eea3d08d1cabeb7fd9d0e180d7187..2577a3a311f3556c5a46972107b560a03b2f3508 100644 |
--- a/native_client_sdk/src/libraries/nacl_io/filesystem.cc |
+++ b/native_client_sdk/src/libraries/nacl_io/filesystem.cc |
@@ -39,6 +39,12 @@ Error Filesystem::Init(const FsInitArgs& args) { |
void Filesystem::Destroy() { |
} |
+Error Filesystem::Open(const Path& path, |
+ int open_flags, |
+ ScopedNode* out_node) { |
+ return OpenWithMode(path, open_flags, 0666, out_node); |
+} |
+ |
Error Filesystem::OpenResource(const Path& path, ScopedNode* out_node) { |
out_node->reset(NULL); |
LOG_TRACE("Can't open resource: %s", path.Join().c_str()); |