[Lazarus] FileUtil.FindAllFiles - case-sensitive on Unix

AlexeyT aaa5500 at ya.ru
Mon Sep 21 00:12:31 CEST 2020


procedure FindAllFiles(AList: TStrings; const SearchPath: String;

    Searcher.Search(SearchPath, SearchMask, SearchSubDirs);

Here we miss parameter "CaseSensitive=False". So on Linux it is False 
and function does case-insens search. It is slower! Why not to add param 
True for Unix. Not sure about macOS.

-- 
Regards,
Alexey



More information about the lazarus mailing list