1
0
Fork 0

needless comment typo fix

This commit is contained in:
dtb 2024-02-22 19:11:23 -07:00
parent d4960d974e
commit f0b86991d7
1 changed files with 2 additions and 1 deletions

View File

@ -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);