pp_print didn't extend the stack before pushing its return value
Dave Mitchell [Sat, 5 Nov 2005 01:57:23 +0000 (01:57 +0000)]
p4raw-id: //depot/perl@26009

pp_hot.c

index 967f2d5..2a08525 100644 (file)
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -677,12 +677,12 @@ PP(pp_print)
        }
     }
     SP = ORIGMARK;
-    PUSHs(&PL_sv_yes);
+    XPUSHs(&PL_sv_yes);
     RETURN;
 
   just_say_no:
     SP = ORIGMARK;
-    PUSHs(&PL_sv_undef);
+    XPUSHs(&PL_sv_undef);
     RETURN;
 }