mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 11:39:24 +02:00
* exit with exitcode 217 instead of some random OS result
on an unhandled exception git-svn-id: trunk@5314 -
This commit is contained in:
parent
43ba7cfe6f
commit
865a4573cf
@ -153,7 +153,7 @@ begin
|
|||||||
with ExceptObjectStack^ do
|
with ExceptObjectStack^ do
|
||||||
begin
|
begin
|
||||||
TExceptProc(ExceptProc)(FObject,Addr,FrameCount,Frames);
|
TExceptProc(ExceptProc)(FObject,Addr,FrameCount,Frames);
|
||||||
Halt(ExitCode);
|
halt(217)
|
||||||
end;
|
end;
|
||||||
if erroraddr = nil then
|
if erroraddr = nil then
|
||||||
RunError(217)
|
RunError(217)
|
||||||
|
Loading…
Reference in New Issue
Block a user