From 0219d4dfbacc660e97b357831ef6312e77d10387 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 12 Aug 2004 00:58:01 +0000 Subject: [PATCH] Improved a comment. --- util.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/util.c b/util.c index 829bad6c..03134e9f 100644 --- a/util.c +++ b/util.c @@ -664,10 +664,10 @@ int count_dir_elements(const char *p) return cnt; } -/* Turns multiple adjacent slashes into a single slash, gets rid of "./" - * elements, collapses ".." elements except for those at the start of - * the string. If the resulting path would be empty, change it into a - * ".". */ +/* Turns multiple adjacent slashes into a single slash; gets rid of "./" + * elements; collapses ".." elements except for those at the start of the + * string; removes a trailing slash. If the resulting name would be empty, + * change it into a ".". */ unsigned int clean_fname(char *name) { char *limit = name - 1, *t = name, *f = name; -- 2.34.1