aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-10-30 16:15:43 +1000
committerteor <teor@torproject.org>2019-10-30 16:15:43 +1000
commitdce1f63d4407da0530111ebe049f286a38110f17 (patch)
treef3cdb20c32c524ff74a9ba940052a5eebefa6c7d
parent4413b98190d94b543b85f57ac3c58f29d4bb96f1 (diff)
downloadtor-dce1f63d4407da0530111ebe049f286a38110f17.tar.gz
tor-dce1f63d4407da0530111ebe049f286a38110f17.zip
fs: Clarify an ambiguous comment about string/pointer equality
-rw-r--r--src/lib/fs/path.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/fs/path.c b/src/lib/fs/path.c
index 28dde62aea..1b4bc74e96 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)
{