summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-20 03:28:02 -0800
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-02 04:26:46 +0000
commit436933950535d3942db23a87c1a6344f566a9af4 (patch)
tree53a51ada91219346920fcaa7071e8b0f32861fea /pp_hot.c
parentef7adf26b48d8441a94b9133216b2ca93f1f3137 (diff)
downloadperl-436933950535d3942db23a87c1a6344f566a9af4.tar.gz
Remove the extraneous "main::" prefix from all the
"opened only for", "on closed", and "never opened" warnings. Subject: Re: inappropriate warning Message-Id: <200003201928.LAA32224@maul.ActiveState.com> p4raw-id: //depot/perl@6489
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 39cc0e0018..fde52c5714 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -400,7 +400,7 @@ PP(pp_print)
if (!(io = GvIO(gv))) {
if (ckWARN(WARN_UNOPENED)) {
SV* sv = sv_newmortal();
- gv_efullname3(sv, gv, Nullch);
+ gv_efullname4(sv, gv, Nullch, FALSE);
Perl_warner(aTHX_ WARN_UNOPENED, "Filehandle %s never opened",
SvPV(sv,n_a));
}
@@ -411,7 +411,7 @@ PP(pp_print)
if (ckWARN2(WARN_CLOSED, WARN_IO)) {
if (IoIFP(io)) {
SV* sv = sv_newmortal();
- gv_efullname3(sv, gv, Nullch);
+ gv_efullname4(sv, gv, Nullch, FALSE);
Perl_warner(aTHX_ WARN_IO,
"Filehandle %s opened only for input",
SvPV(sv,n_a));
@@ -1382,7 +1382,7 @@ Perl_do_readline(pTHX)
|| fp == PerlIO_stderr()))
{
SV* sv = sv_newmortal();
- gv_efullname3(sv, PL_last_in_gv, Nullch);
+ gv_efullname4(sv, PL_last_in_gv, Nullch, FALSE);
Perl_warner(aTHX_ WARN_IO, "Filehandle %s opened only for output",
SvPV_nolen(sv));
}