summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-08-29 09:54:20 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-08-29 12:33:53 -0700
commit92f2ac5f91d4e93cd51cdb5d8e967e1a73c9d7dc (patch)
tree0efa22aaad4a7ea379b709c14e39d5bb71f45a21 /gv.c
parent88d6953212e6c8eb2ac9df08c4903ff86b7ef650 (diff)
downloadperl-92f2ac5f91d4e93cd51cdb5d8e967e1a73c9d7dc.tar.gz
&CORE::setpgrp()
This commit allows &CORE::setpgrp to be called through references and via ampersand syntax. pp_setpgrp is modified to take into account the nulls pushed on to the stack in pp_coreargs, which happens because pp_coreargs has no other way to tell setpgrp how many arguments it’s actually getting. See commit 0163043a for details.
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gv.c b/gv.c
index 1c337ef1f6..086e398a3f 100644
--- a/gv.c
+++ b/gv.c
@@ -1358,7 +1358,7 @@ Perl_gv_fetchpvn_flags(pTHX_ const char *nambeg, STRLEN full_len, I32 flags,
case KEY_lstat:
case KEY_pop:
case KEY_push:
- case KEY_setpgrp: case KEY_shift:
+ case KEY_shift:
case KEY_splice:
case KEY_stat:
case KEY_system: