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

Unified Diff: native_client_sdk/src/libraries/nacl_io/node.cc

Issue 604513002: [NaCl SDK] nacl_io: Add chmod/fchmod (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: native_client_sdk/src/libraries/nacl_io/node.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/node.cc b/native_client_sdk/src/libraries/nacl_io/node.cc
index 6702dc8f50e6ae1fae269c201d651d4f5a5aaa9b..b91726fb1199bbaee73fe10f7b61904a4a755f2b 100644
--- a/native_client_sdk/src/libraries/nacl_io/node.cc
+++ b/native_client_sdk/src/libraries/nacl_io/node.cc
@@ -180,6 +180,10 @@ Error Node::Futimens(const struct timespec times[2]) {
return 0;
}
+Error Node::Fchmod(mode_t mode) {
+ return EINVAL;
+}
+
int Node::GetLinks() {
return stat_.st_nlink;
}

Powered by Google App Engine
This is Rietveld 408576698