Explorar o código

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

git-svn-id: trunk@33419 -
sergei %!s(int64=9) %!d(string=hai) anos
pai
achega
f73b3c6e4b
Modificáronse 1 ficheiros con 1 adicións e 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