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

Michael Van Canneyt michael at freepascal.org
Mon Sep 21 00:16:38 CEST 2020



On Mon, 21 Sep 2020, AlexeyT via lazarus wrote:

> 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.

Did you try setting the list to case sensitive ?

Michael.


More information about the lazarus mailing list