This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Disable by default the new Copy-on-Write for 5.18
[perl5.git] / doio.c
diff --git a/doio.c b/doio.c
index 08ed433..795d138 100644 (file)
--- a/doio.c
+++ b/doio.c
@@ -908,7 +908,7 @@ Perl_nextargv(pTHX_ GV *gv)
        {
            GV * const oldout = MUTABLE_GV(av_pop(PL_argvout_stack));
            setdefout(oldout);
-           SvREFCNT_dec(oldout);
+           SvREFCNT_dec_NN(oldout);
            return NULL;
        }
        setdefout(gv_fetchpvs("STDOUT", GV_ADD|GV_NOTQUAL, SVt_PVIO));
@@ -1499,7 +1499,7 @@ Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report)
        goto doshell;
 
     s = cmd;
-    while (isALNUM(*s))
+    while (isWORDCHAR(*s))
        s++;    /* catch VAR=val gizmo */
     if (*s == '=')
        goto doshell;