mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 11:48:04 +02:00
* ExistsDir must also find hidden directories, so that the local configuration files are found
git-svn-id: trunk@12462 -
This commit is contained in:
parent
fe3263eb08
commit
c9b5621675
@ -1198,7 +1198,7 @@ function ExistsDir(const DirName: string): boolean;
|
||||
var
|
||||
Dir : SearchRec;
|
||||
begin
|
||||
Dos.FindFirst(TrimEndSlash(DirName),Directory,Dir);
|
||||
Dos.FindFirst(TrimEndSlash(DirName),anyfile,Dir);
|
||||
{ if a file is found it is also reported
|
||||
at least for some Dos version
|
||||
so we need to check the attributes PM }
|
||||
|
Loading…
Reference in New Issue
Block a user