mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 19:39:31 +02:00
* don't fail if multiple dotests try to create the same directory in parallel
git-svn-id: trunk@30220 -
This commit is contained in:
parent
a02fb7c794
commit
f4a580d669
@ -380,8 +380,13 @@ begin
|
||||
Err := IOResult;
|
||||
if Err <> 0 then
|
||||
begin
|
||||
Str (Err, SErr);
|
||||
Verbose (V_Error, 'Directory creation failed ' + SErr);
|
||||
{ did another parallel instance create it in the mean time? }
|
||||
if not PathExists(hs) then
|
||||
begin
|
||||
{ no -> error }
|
||||
Str (Err, SErr);
|
||||
Verbose (V_Error, 'Directory creation of "'+HS+'" failed ' + SErr);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user