summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-01-21 12:12:12 +0000
committerNicholas Clark <nick@ccl4.org>2009-01-21 17:09:11 +0000
commit6673a63c63e2a65dbfcc835d6499cc97c449c67b (patch)
treeec84eaad20d1a2dae1ca297ecf1d19de05feff1f /pp_ctl.c
parent2b393bf410d9f1bf0b80132c4e8b5d6707a139f8 (diff)
downloadperl-6673a63c63e2a65dbfcc835d6499cc97c449c67b.tar.gz
Update the documentation of get_hv() to note that it calls Perl_gv_fetchpv(),
and hence the 'create' argument is actually 'flags'. Fix code and documentation that used TRUE or FALSE to use 0 or GV_ADD.
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 799683d059..8af388f5ba 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -1778,7 +1778,7 @@ PP(pp_caller)
/* Get the bit mask for $warnings::Bits{all}, because
* it could have been extended by warnings::register */
SV **bits_all;
- HV * const bits = get_hv("warnings::Bits", FALSE);
+ HV * const bits = get_hv("warnings::Bits", 0);
if (bits && (bits_all=hv_fetchs(bits, "all", FALSE))) {
mask = newSVsv(*bits_all);
}