summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-03-09 23:23:19 +0000
committerNicholas Clark <nick@ccl4.org>2006-03-09 23:23:19 +0000
commit6fd99bb377a3671d990fd357b52cfe5b19de1e9c (patch)
treefb5ae24fa20c641b3ad7f4517440a3f8c48722c1 /gv.c
parentef2570c41ffc304e9725d0b3f9f07f3c6913340f (diff)
downloadperl-6fd99bb377a3671d990fd357b52cfe5b19de1e9c.tar.gz
Correct another gv_fetchpv() - it takes a bitmask of flags, not simply
TRUE/FALSE. p4raw-id: //depot/perl@27456
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 d02f741e44..9f64aebc83 100644
--- a/gv.c
+++ b/gv.c
@@ -1347,7 +1347,7 @@ Perl_newGVgen(pTHX_ const char *pack)
{
dVAR;
return gv_fetchpv(Perl_form(aTHX_ "%s::_GEN_%ld", pack, (long)PL_gensym++),
- TRUE, SVt_PVGV);
+ GV_ADD, SVt_PVGV);
}
/* hopefully this is only called on local symbol table entries */