diff options
Diffstat (limited to 'lang/perl5.16/files/patch-bug64562')
-rw-r--r-- | lang/perl5.16/files/patch-bug64562 | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/lang/perl5.16/files/patch-bug64562 b/lang/perl5.16/files/patch-bug64562 deleted file mode 100644 index 7503887573e..00000000000 --- a/lang/perl5.16/files/patch-bug64562 +++ /dev/null @@ -1,23 +0,0 @@ -# http://rt.perl.org/rt3/Public/Bug/Display.html?id=64562 -# http://perl5.git.perl.org/perl.git/commitdiff/ee6d2783b2d78accfac54397826acf5f6e1715e1?hp=5a8cf367090fb5d83d8e8e0ae381a3525a215928 -diff --git a/op.c b/op.c -index 517f648..89ed522 100644 ---- op.c -+++ op.c -@@ -6166,9 +6166,13 @@ Perl_newFORM(pTHX_ I32 floor, OP *o, OP *block) - const line_t oldline = CopLINE(PL_curcop); - if (PL_parser && PL_parser->copline != NOLINE) - CopLINE_set(PL_curcop, PL_parser->copline); -- Perl_warner(aTHX_ packWARN(WARN_REDEFINE), -- o ? "Format %"SVf" redefined" -- : "Format STDOUT redefined", SVfARG(cSVOPo->op_sv)); -+ if (o) { -+ Perl_warner(aTHX_ packWARN(WARN_REDEFINE), -+ "Format %"SVf" redefined", SVfARG(cSVOPo->op_sv)); -+ } else { -+ Perl_warner(aTHX_ packWARN(WARN_REDEFINE), -+ "Format STDOUT redefined"); -+ } - CopLINE_set(PL_curcop, oldline); - } - SvREFCNT_dec(cv); |