diff options
author | Bram <perl-rt@wizbit.be> | 2008-06-10 20:26:26 -0700 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2008-06-17 11:13:38 +0000 |
commit | 8433848b134d4e61d5135fd8a70d8106025ac6a6 (patch) | |
tree | 1f4ece2adf27300a2e20f1fc53672a98e7ce1eaf /op.c | |
parent | 8dc00b2f10de49b4d2d4be48279a996698c3f04a (diff) | |
download | perl-8433848b134d4e61d5135fd8a70d8106025ac6a6.tar.gz |
[perl #51370] length($@)>0 for empty $@ if utf8 is in use
From: "Bram via RT" <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-18229-1213179984-1708.51370-15-0@perl.org>
(The first patch)
p4raw-id: //depot/perl@34068
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2521,7 +2521,7 @@ Perl_fold_constants(pTHX_ register OP *o) case 3: /* Something tried to die. Abandon constant folding. */ /* Pretend the error never happened. */ - sv_setpvn(ERRSV,"",0); + clear_errsv(); o->op_next = old_next; break; default: |