diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-11-17 08:28:26 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-11-17 08:28:26 +0000 |
commit | a99e4ac224ca891463a7704e48b83906ece3bb7c (patch) | |
tree | 0b2e2f5bd9b49d00679a273084c1a24bc8f48e91 /pp_ctl.c | |
parent | 24d3c5181312bc6d6fc2f89a6710968ed97b31dc (diff) | |
download | perl-a99e4ac224ca891463a7704e48b83906ece3bb7c.tar.gz |
propagate failures in DESTROY() as (optional) warnings
p4raw-id: //depot/perl@2245
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1253,6 +1253,8 @@ die_where(char *message) SvGROW(err, SvCUR(err)+sizeof(prefix)+klen); sv_catpvn(err, prefix, sizeof(prefix)-1); sv_catpvn(err, message, klen); + if (ckWARN(WARN_UNSAFE)) + warner(WARN_UNSAFE, SvPVX(err)); } sv_inc(*svp); } |