[tor/master] fs: Clarify an ambiguous comment about string/pointer equality

30 Oct
2019
30 Oct
'19
6:16 a.m.
commit dce1f63d4407da0530111ebe049f286a38110f17 Author: teor <teor@torproject.org> 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) {
2037
Age (days ago)
2037
Last active (days ago)
0 comments
1 participants
participants (1)
-
teor@torproject.org