From 6807b76a5e004a2d6c9f46f8b4dec0c90007996c Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 11 Apr 2014 03:06:05 -0400 Subject: 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 b97b900c8..01aefe140 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 -- cgit v1.2.3