Commit 562386c58b14079697d80948b00aed963cc1557e

Stefan Sperling 2020-10-19T23:14:59

update got_path_basename() doc string ok millert

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/got_path.h b/include/got_path.h
index 0c75579..89384c4 100644
--- a/include/got_path.h
+++ b/include/got_path.h
@@ -118,7 +118,7 @@ const struct got_error *got_path_dirname(char **, const char *);
 const struct got_error *got_path_dirent_type(int *, const char *,
     struct dirent *);
 
-/* basename(3) with dynamically allocated result. */
+/* basename(3) with dynamically allocated result and unmodified input. */
 const struct got_error *got_path_basename(char **, const char *);
 
 /* Strip trailing slashes from a path; path will be modified in-place. */