소스 검색

* expand the paths in the PATH when searching for executables
(e.g. ~/bin)

git-svn-id: trunk@5364 -

Jonas Maebe 19 년 전
부모
커밋
25e9a60553
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/cfileutils.pas

+ 1 - 1
compiler/cfileutils.pas

@@ -1003,7 +1003,7 @@ implementation
               inc(pc);
              move(startpc^,singlepathstring[1],pc-startpc);
              singlepathstring[0]:=char(longint(pc-startpc));
-             singlepathstring:=FixPath(singlepathstring,false);
+             singlepathstring:=FixPath(ExpandFileName(singlepathstring),false);
              result:=FileExistsNonCase(singlepathstring,f,allowcache,FoundFile);
              if result then
                exit;