mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-07 17:13:02 +02:00
* include current directory in the list of searched directories in FSearch as expected in TP/BP
git-svn-id: trunk@29531 -
This commit is contained in:
parent
5176a069cf
commit
2e5054186c
@ -112,7 +112,8 @@ Var
|
||||
begin
|
||||
P:=Path;
|
||||
D:=DirList;
|
||||
DosError := DosSearchPath (dsIgnoreNetErrs, PChar(D), PChar(P), @A, 255);
|
||||
DosError := DosSearchPath (dsCurrentDir or dsIgnoreNetErrs, PChar(D),
|
||||
PChar(P), @A, 255);
|
||||
if DosError <> 0 then
|
||||
OSErrorWatch (DosError);
|
||||
fsearch := StrPas (@A);
|
||||
|
Loading…
Reference in New Issue
Block a user