[tor/master] Add missing rename function for non-linux platforms

17 Apr
2014
17 Apr
'14
3:48 a.m.
commit 6807b76a5e004a2d6c9f46f8b4dec0c90007996c Author: Nick Mathewson <nickm@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
4089
Age (days ago)
4089
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org