mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 16:39:24 +01:00 
			
		
		
		
	* expand the paths in the PATH when searching for executables
(e.g. ~/bin) git-svn-id: trunk@5364 -
This commit is contained in:
		
							parent
							
								
									9ae8e9fa21
								
							
						
					
					
						commit
						25e9a60553
					
				@ -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;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user