mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-19 05:29:18 +02:00
* Avoid infinite loop on Unix
git-svn-id: trunk@18242 -
This commit is contained in:
parent
79a96ab287
commit
8dc1ce55c1
@ -55,7 +55,10 @@ begin
|
||||
begin
|
||||
dir:=copy(dir,1,maxpos-1);
|
||||
TestDirectoryExists(dir,true);
|
||||
end;
|
||||
end
|
||||
else
|
||||
{ if length(dir)<=1, exit test }
|
||||
exit;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user