summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-01-25 11:41:13 +0000
committerNicholas Clark <nick@ccl4.org>2007-01-25 11:41:13 +0000
commitb5c2dcb896d432b12ffe33fec8f2d720824f50e6 (patch)
tree87c349c317fcab229da121427fbbcd62e98f4347 /gv.c
parent185c8bac9a83b61c2b0e64dfc37d5aa2c2f4ecda (diff)
downloadperl-b5c2dcb896d432b12ffe33fec8f2d720824f50e6.tar.gz
Change 28058 hadn't been tested with -DPERL_CREATE_GVSV
p4raw-id: //depot/perl@29970
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 9c33b423c9..78e528f8a4 100644
--- a/gv.c
+++ b/gv.c
@@ -171,7 +171,7 @@ Perl_newGP(pTHX_ GV *const gv)
Newxz(gp, 1, GP);
#ifndef PERL_DONT_CREATE_GVSV
- gp->gv_sv = newSV(0);
+ gp->gp_sv = newSV(0);
#endif
gp->gp_line = PL_curcop ? CopLINE(PL_curcop) : 0;