summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2002-01-31 15:37:52 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-31 15:27:49 +0000
commit5c9aa243fcc1509167c9708b74c0f9451983e63b (patch)
tree3836db23368a8eaf52251f153213bdf99408780a /pp_sys.c
parent62961d2e50d22e7ae5a679eac7bf6d593193e108 (diff)
downloadperl-5c9aa243fcc1509167c9708b74c0f9451983e63b.tar.gz
forbid -l _ after -T _
Message-ID: <20020131143752.A1452@rafael> p4raw-id: //depot/perl@14506
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 3fb4be900b..d540535d32 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -3311,6 +3311,7 @@ PP(pp_fttext)
really_filename:
PL_statgv = Nullgv;
PL_laststatval = -1;
+ PL_laststype = OP_STAT;
sv_setpv(PL_statname, SvPV(sv, n_a));
if (!(fp = PerlIO_open(SvPVX(PL_statname), "r"))) {
if (ckWARN(WARN_NEWLINE) && strchr(SvPV(sv, n_a), '\n'))