mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-24 10:29:14 +02:00
* Check if compilation has failed
git-svn-id: trunk@16892 -
This commit is contained in:
parent
527dd56b28
commit
f05ccc13b5
@ -1222,6 +1222,7 @@ var
|
||||
end;
|
||||
|
||||
begin
|
||||
result := -1;
|
||||
try
|
||||
M := TMemoryStream.Create;
|
||||
BytesRead := 0;
|
||||
@ -1242,6 +1243,7 @@ begin
|
||||
// read last part
|
||||
repeat
|
||||
until ReadFromStream = 0;
|
||||
result := P.ExitStatus;
|
||||
finally
|
||||
P.Free;
|
||||
M.Free;
|
||||
|
Loading…
Reference in New Issue
Block a user