소스 검색

* include current directory in the list of searched directories in FSearch as expected in TP/BP

git-svn-id: trunk@29531 -
Tomas Hajny 10 년 전
부모
커밋
2e5054186c
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      rtl/os2/dos.pas

+ 2 - 1
rtl/os2/dos.pas

@@ -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);