[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Add missing rename function for non-linux platforms
commit 6807b76a5e004a2d6c9f46f8b4dec0c90007996c
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits