This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Delete two instance of SvSCREAM_off
authorFather Chrysostomos <sprout@cpan.org>
Thu, 24 May 2012 21:53:38 +0000 (14:53 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 30 May 2012 06:55:23 +0000 (23:55 -0700)
that no longer have any effect.

pp_hot.c
sv.c

index c9aa778..59ff881 100644 (file)
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -2230,7 +2230,6 @@ PP(pp_subst)
        }
        d = s;
        PL_curpm = pm;
-       SvSCREAM_off(TARG);     /* disable possible screamer */
        if (once) {
            if (RX_MATCH_TAINTED(rx)) /* run time pattern taint, eg locale */
                rxtainted |= SUBST_TAINT_PAT;
diff --git a/sv.c b/sv.c
index 6929e54..56f4407 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -7621,8 +7621,6 @@ Perl_sv_gets(pTHX_ register SV *const sv, register PerlIO *const fp, I32 append)
        Swings and roundabouts.  */
     SvUPGRADE(sv, SVt_PV);
 
-    SvSCREAM_off(sv);
-
     if (append) {
        if (PerlIO_isutf8(fp)) {
            if (!SvUTF8(sv)) {