Browse Source

Add missing rename function for non-linux platforms

Nick Mathewson 11 years ago
parent
commit
6807b76a5e
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/common/sandbox.c

+ 7 - 0
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