| Index: native_client_sdk/src/libraries/nacl_io/memfs/mem_fs.cc
|
| diff --git a/native_client_sdk/src/libraries/nacl_io/memfs/mem_fs.cc b/native_client_sdk/src/libraries/nacl_io/memfs/mem_fs.cc
|
| index d29602d92ff9d023e219a9ef27790391f90efecf..a159c32cfd37b05c8aee2a04c8ae9876b69de338 100644
|
| --- a/native_client_sdk/src/libraries/nacl_io/memfs/mem_fs.cc
|
| +++ b/native_client_sdk/src/libraries/nacl_io/memfs/mem_fs.cc
|
| @@ -75,23 +75,6 @@ Error MemFs::FindNode(const Path& path, int type, ScopedNode* out_node) {
|
| return 0;
|
| }
|
|
|
| -Error MemFs::Access(const Path& path, int a_mode) {
|
| - ScopedNode node;
|
| - Error error = FindNode(path, 0, &node);
|
| -
|
| - if (error)
|
| - return error;
|
| -
|
| - int obj_mode = node->GetMode();
|
| - if (((a_mode & R_OK) && !(obj_mode & S_IREAD)) ||
|
| - ((a_mode & W_OK) && !(obj_mode & S_IWRITE)) ||
|
| - ((a_mode & X_OK) && !(obj_mode & S_IEXEC))) {
|
| - return EACCES;
|
| - }
|
| -
|
| - return 0;
|
| -}
|
| -
|
| Error MemFs::Open(const Path& path, int open_flags, ScopedNode* out_node) {
|
| out_node->reset(NULL);
|
| ScopedNode node;
|
|
|