* Better signal configuration to handle correctly a second exception

like in test texception10.pp.

git-svn-id: trunk@20690 -
This commit is contained in:
olivier 2012-04-02 01:06:09 +00:00
parent 9d9a5013fd
commit 8c7d54de5c

View File

@ -360,7 +360,7 @@ begin
{ initialize handler }
act.sa_mask[0] := 0;
act.sa_handler := SigActionHandler(@SignalToRunError);
act.sa_flags := SA_ONSTACK or SA_NODEFER or SA_RESETHAND;
act.sa_flags := SA_ONSTACK or SA_SIGINFO;
FpSigAction(signum,@act,@oldact);
end;