Index: native_client_sdk/src/libraries/nacl_io/dir_node.cc |
diff --git a/native_client_sdk/src/libraries/nacl_io/dir_node.cc b/native_client_sdk/src/libraries/nacl_io/dir_node.cc |
index e16c0c7d173630bfa654d763632b7147079b6892..6cf0656d04365c5107f75711dc3c7970c5f2d323 100644 |
--- a/native_client_sdk/src/libraries/nacl_io/dir_node.cc |
+++ b/native_client_sdk/src/libraries/nacl_io/dir_node.cc |
@@ -69,6 +69,12 @@ Error DirNode::GetDents(size_t offs, |
return cache_.GetDents(offs, pdir, size, out_bytes); |
} |
+Error DirNode::Fchmod(mode_t mode) { |
+ AUTO_LOCK(node_lock_); |
+ SetMode(mode); |
+ return 0; |
Sam Clegg
2014/09/24 20:48:28
Could we not just put this in the Nade base class?
binji
2014/09/24 21:30:50
I thought about that. It made more sense to me to
|
+} |
+ |
Error DirNode::AddChild(const std::string& name, const ScopedNode& node) { |
AUTO_LOCK(node_lock_); |