summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-05-11 14:08:14 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-05-11 14:08:14 +0000
commitf6ec51f74c8ac3114d6ab404cd0d7ce83d50adc9 (patch)
tree18863e2a1c31485f08ee30a422fb01ce18d80a81 /gv.c
parenta6c403648ecd5cc72235fdb1e7535523a8ff2ac9 (diff)
downloadperl-f6ec51f74c8ac3114d6ab404cd0d7ce83d50adc9.tar.gz
avoid creating spurious subroutine stubs on failed subroutine
call and other places of sv_2cv() misuse; fixes problems with failed subroutine calls "hiding" later attempts to lookup methods in base classes p4raw-id: //depot/perl@3388
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 b2941c3a1f..df3e0e173c 100644
--- a/gv.c
+++ b/gv.c
@@ -1075,7 +1075,7 @@ Gv_AMupdate(HV *stash)
break;
case SVt_PVGV:
if (!(cv = GvCVu((GV*)sv)))
- cv = sv_2cv(sv, &stash, &gv, TRUE);
+ cv = sv_2cv(sv, &stash, &gv, FALSE);
break;
}
if (cv) filled=1;