diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-08-29 14:15:34 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-08-29 18:19:51 -0700 |
commit | 58536d157b70c5107d3c064bf009dfb9b52919ce (patch) | |
tree | 34c0bb4cfe351849eafe7641a031f8cf4c4fc27d /gv.c | |
parent | efe889ae38a5f2c6e26a31f33186cd13d4946962 (diff) | |
download | perl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |