summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-08-29 14:15:34 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-08-29 18:19:51 -0700
commit58536d157b70c5107d3c064bf009dfb9b52919ce (patch)
tree34c0bb4cfe351849eafe7641a031f8cf4c4fc27d /gv.c
parentefe889ae38a5f2c6e26a31f33186cd13d4946962 (diff)
downloadperl-58536d157b70c5107d3c064bf009dfb9b52919ce.tar.gz
&CORE::umask()
This commit allows &CORE::umask to be called through references and via ampersand syntax. pp_umask 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 umask 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 46559c787f..8b53b94acf 100644
--- a/gv.c
+++ b/gv.c
@@ -1362,7 +1362,7 @@ Perl_gv_fetchpvn_flags(pTHX_ const char *nambeg, STRLEN full_len, I32 flags,
case KEY_splice:
case KEY_stat:
case KEY_system:
- case KEY_truncate: case KEY_umask: case KEY_unlink:
+ case KEY_truncate: case KEY_unlink:
case KEY_unpack: case KEY_unshift:
case KEY_values: case KEY_write:
ampable = FALSE;