fixup! Fix bugs in glob(3).

This commit is contained in:
Jonas 'Sortie' Termansen 2024-04-22 10:13:56 +02:00
parent 0e5cbea003
commit 3036bf3f09
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ int glob(const char* restrict pattern,
else if ( errno && ((errfunc && errfunc(path, errno)) ||
(flags & GLOB_ERR)) )
result = GLOB_ABORTED;
segment->done = trues;
segment->done = true;
continue;
}
// Skip known non-directories when a directory needs to be found.