change#3455 had a typo
Gurusamy Sarathy [Mon, 24 May 1999 23:31:58 +0000 (23:31 +0000)]
p4raw-link: @3455 on //depot/perl: 288ec9e31566cfd8e9a63e1dd3d7e670d6e519b8

p4raw-id: //depot/perl@3463

pp_ctl.c

index 3d27aa5..0b524e2 100644 (file)
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -667,7 +667,7 @@ PP(pp_grepstart)
     if (PL_stack_base + *PL_markstack_ptr == SP) {
        (void)POPMARK;
        if (GIMME_V == G_SCALAR)
-           XPUSHi(0);
+           XPUSHs(sv_2mortal(newSViv(0)));
        RETURNOP(PL_op->op_next->op_next);
     }
     PL_stack_sp = PL_stack_base + *PL_markstack_ptr + 1;