From f0b86991d7967bf0a9dc0420536d1c2e366ad336 Mon Sep 17 00:00:00 2001 From: DTB Date: Thu, 22 Feb 2024 19:11:23 -0700 Subject: [PATCH] needless comment typo fix --- walk/walk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/walk/walk.c b/walk/walk.c index dd07c53..2db43cf 100644 --- a/walk/walk.c +++ b/walk/walk.c @@ -87,7 +87,8 @@ walk(char *dirname, unsigned int levels, char *argv0){ while((f = readdir(dir)) != NULL){ if(strcmp(f->d_name, ".") == 0 || strcmp(f->d_name, "..") == 0) continue; - /* fat pointer foolishness to avoid unnecessary reallocation */ + /* fat pointer foolishness to avoid unnecessary reallocation; assembles + * $DIR/$FILE */ if((l = strlen(dirname) + 1 + strlen(f->d_name) + 1) > filename.a){ if((np = realloc(filename.s, l)) == NULL){ free(filename.s);