[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] fs: Clarify an ambiguous comment about string/pointer equality
commit dce1f63d4407da0530111ebe049f286a38110f17
Author: teor <teor@xxxxxxxxxxxxxx>
Date: Wed Oct 30 16:15:43 2019 +1000
fs: Clarify an ambiguous comment about string/pointer equality
---
src/lib/fs/path.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/lib/fs/path.c b/src/lib/fs/path.c
index 28dde62ae..1b4bc74e9 100644
--- a/src/lib/fs/path.c
+++ b/src/lib/fs/path.c
@@ -255,7 +255,8 @@ alloc_getcwd(void)
#endif /* !defined(_WIN32) */
/** Expand possibly relative path <b>fname</b> to an absolute path.
- * Return a newly allocated string, possibly equal to <b>fname</b>. */
+ * Return a newly allocated string, which may be a duplicate of <b>fname</b>.
+ */
char *
make_path_absolute(char *fname)
{
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits