소스 검색

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

git-svn-id: trunk@33419 -
sergei 9 년 전
부모
커밋
f73b3c6e4b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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