This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
bring G_KEEPERR back to the realm of sanity
authorZefram <zefram@fysh.org>
Fri, 23 Apr 2010 01:22:54 +0000 (02:22 +0100)
committerZefram <zefram@fysh.org>
Fri, 23 Apr 2010 01:22:54 +0000 (02:22 +0100)
commit7ce092845b50544ac127e66e60d73a2f7b707464
tree5cf5b6c0f2b75cb59669fd43c20c1c21b7ab5a66
parentc5df3096702d4a814b3774dff243e7eb74814257
bring G_KEEPERR back to the realm of sanity

Makes the G_KEEPERR logic more consistent, and in particular make it
sensibly handle non-string exceptions.  An exception in a destructor
is now always emitted as a warning, and never copied or merged into
$@ of the surrounding context.  No more clobbering exceptions being
handled elsewhere, and no more double reporting.  This fixes the rest of
[perl #74538].
MANIFEST
cop.h
ext/XS-APItest/t/call.t
pod/perlcall.pod
pp_ctl.c
t/lib/warnings/pp_ctl
t/op/die_keeperr.t [new file with mode: 0644]