Skip to contentSkip to conversation

Fix typo in comments of longest_ancestor_length()

PATCH New Nguyễn Thái Ngọc Duy 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix typo in comments of longest_ancestor_length()

---
Not really important but it might confuse new comers.

 path.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
path.c +1 -1
index 9df447b..76e8872 100644
@@ -365,7 +365,7 @@ int normalize_absolute_path(char *buf, const char *path)
  * path = Canonical absolute path
  * prefix_list = Colon-separated list of absolute paths
  *
- * Determines, for each path in parent_list, whether the "prefix" really
+ * Determines, for each path in prefix_list, whether the "prefix" really
  * is an ancestor directory of path.  Returns the length of the longest
  * ancestor directory, excluding any trailing slashes, or -1 if no prefix
  * is an ancestor.  (Note that this means 0 is returned if prefix_list is
Signature · 1 line
1.5.5.GIT