[tor-commits] [tor/master] Add missing rename function for non-linux platforms
nickm at torproject.org
nickm at torproject.org
Thu Apr 17 03:48:07 UTC 2014
commit 6807b76a5e004a2d6c9f46f8b4dec0c90007996c
Author: Nick Mathewson <nickm at torproject.org>
Date: Fri Apr 11 03:06:05 2014 -0400
Add missing rename function for non-linux platforms
---
src/common/sandbox.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/common/sandbox.c b/src/common/sandbox.c
index b97b900..01aefe1 100644
--- a/src/common/sandbox.c
+++ b/src/common/sandbox.c
@@ -1625,5 +1625,12 @@ sandbox_cfg_allow_stat_filename_array(sandbox_cfg_t **cfg, ...)
(void)cfg;
return 0;
}
+
+int
+sandbox_cfg_allow_rename(sandbox_cfg_t **cfg, char *file1, char *file2)
+{
+ (void)cfg; (void)file1; (void)file2;
+ return 0;
+}
#endif
More information about the tor-commits
mailing list