[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] expand documentation on tor_remove_file



commit c99ec36defadf763034b82107f6168987668862f
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Wed Dec 20 10:43:27 2017 -0500

    expand documentation on tor_remove_file
---
 src/or/main.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/or/main.c b/src/or/main.c
index f4050d3a5..2c8dfae2f 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -3397,7 +3397,10 @@ tor_free_all(int postfork)
   }
 }
 
-/** Remove the specified file. */
+/**
+ * Remove the specified file, and log a warning if the operation fails for
+ * any reason other than the file not existing.
+ */
 void
 tor_remove_file(const char *filename)
 {

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits