Explorar el Código

* Also assign the ErrorCode variable, which is being checked by some tests like test/tstack.pp.

git-svn-id: trunk@33419 -
sergei hace 9 años
padre
commit
f73b3c6e4b
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      rtl/win64/seh64.inc

+ 1 - 0
rtl/win64/seh64.inc

@@ -410,6 +410,7 @@ begin
           Writeln(hstdout^,BackTraceStrFunc(Exc^.Frames[i]));
       end;
       Writeln(hstdout^,'');
+      ErrorCode:=word(code);
       Halt(code);
     end
     else