diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-04-11 03:06:05 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-04-16 22:03:08 -0400 |
commit | 6807b76a5e004a2d6c9f46f8b4dec0c90007996c (patch) | |
tree | 30fc24f80348a560634581cb4ccb17dfc8e983dc /src/common | |
parent | 71eaebd971f4d42b26fb6b85780163bbc0111aae (diff) | |
download | tor-6807b76a5e004a2d6c9f46f8b4dec0c90007996c.tar.gz tor-6807b76a5e004a2d6c9f46f8b4dec0c90007996c.zip |
Add missing rename function for non-linux platforms
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/sandbox.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/sandbox.c b/src/common/sandbox.c index b97b900c84..01aefe1406 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 |