mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-09 02:46:12 +02:00
parent
f5e5f9645c
commit
fe78829b99
@ -245,7 +245,7 @@ begin
|
||||
Repeat
|
||||
Result:=Format('%s%.5d.tmp',[Start,I]);
|
||||
Inc(I);
|
||||
Until not FileExists(Result);
|
||||
Until not (FileExists(Result) or DirectoryExists(Result));
|
||||
end;
|
||||
end;
|
||||
{$endif}
|
||||
|
Loading…
Reference in New Issue
Block a user