summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorGisle Aas <gisle@activestate.com>2006-01-11 21:09:19 +0000
committerGisle Aas <gisle@activestate.com>2006-01-11 21:09:19 +0000
commit017a3ce5a449d7513ebed2de872ff4d966fd0b43 (patch)
tree2185e14e2c70e5f3990f7706157d76f1a61501c0 /toke.c
parent3591879277a8c0b18a5f875cc7f9b46814925f5d (diff)
downloadperl-017a3ce5a449d7513ebed2de872ff4d966fd0b43.tar.gz
A few more places that can use hv_fetchs().
Ref change 26676. p4raw-id: //depot/perl@26795
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toke.c b/toke.c
index dd5b71e50c..efa9e42b1b 100644
--- a/toke.c
+++ b/toke.c
@@ -4208,7 +4208,7 @@ Perl_yylex(pTHX)
else if (gv && !gvp
&& -tmp==KEY_lock /* XXX generalizable kludge */
&& GvCVu(gv)
- && !hv_fetch(GvHVn(PL_incgv), "Thread.pm", 9, FALSE))
+ && !hv_fetchs(GvHVn(PL_incgv), "Thread.pm", FALSE))
{
tmp = 0; /* any sub overrides "weak" keyword */
}
@@ -10013,7 +10013,7 @@ S_scan_inputsymbol(pTHX_ char *start)
if ((gv_readline
&& GvCVu(gv_readline) && GvIMPORTED_CV(gv_readline))
||
- ((gvp = (GV**)hv_fetch(PL_globalstash, "readline", 8, FALSE))
+ ((gvp = (GV**)hv_fetchs(PL_globalstash, "readline", FALSE))
&& (gv_readline = *gvp) != (GV*)&PL_sv_undef
&& GvCVu(gv_readline) && GvIMPORTED_CV(gv_readline)))
readline_overriden = TRUE;