* Check if compilation has failed

git-svn-id: trunk@16892 -
This commit is contained in:
joost 2011-02-08 09:32:32 +00:00
parent 527dd56b28
commit f05ccc13b5

View File

@ -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;