]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add missing rename function for non-linux platforms
authorNick Mathewson <nickm@torproject.org>
Fri, 11 Apr 2014 07:06:05 +0000 (03:06 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 17 Apr 2014 02:03:08 +0000 (22:03 -0400)
src/common/sandbox.c

index b97b900c84c8ec490c54a91390a5287fb2f2a4b5..01aefe14069784679b19d9a18ddf5a8f0fdf749e 100644 (file)
@@ -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