Make my_exit behave the same as the Perl exit. And add tests for it
authorGerard Goossen <gerard@ggoossen.net>
Wed, 4 Nov 2009 11:36:30 +0000 (12:36 +0100)
committerRafael Garcia-Suarez <rgs@consttype.org>
Sun, 8 Nov 2009 13:53:41 +0000 (14:53 +0100)
commit6bd7445c6d3b53823883c456e32ea27ce24bfc5c
treea970dc6bd10efac39c12c6163c8baf6cc75012ae
parent3d22c4f05aed968c6c562e40be30222328d66f6b
Make my_exit behave the same as the Perl exit. And add tests for it

Rationale: This makes the behaviour of my_exit consistent, so it no
longer depends on whether a subroutine was called using call_sv or as a
normal using an entersub op. Previously, the exit code was sometimes
converted to an exception.
MANIFEST
ext/XS-APItest/APItest.pm
ext/XS-APItest/APItest.xs
ext/XS-APItest/t/my_exit.t [new file with mode: 0644]
perl.c