Commit 2335704f authored by Paul Eggert's avatar Paul Eggert

directory-files cleanup and speed tweaking

* src/dired.c (directory_files_internal):
Check ‘match’ before doing anything heavyweight.
Move decls closer to use.
Remove obsolete comments about GC.
No need to encode ‘directory’ or to call multibyte_chars_in_text.
Remove no-longer-needed bug check.
Skip finalname construction if file_attributes fails.
parent 1a84d8fb
Pipeline #3162 failed with stage
in 90 minutes and 3 seconds