summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-29 21:04:59 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-29 21:04:59 +0000
commit684bef36d5078e84d816e42ce6a73ae4452da2d7 (patch)
tree4a64ac7c597496d77fd3a06f8ed1687cc6f728d9 /doio.c
parent06605284651a1ac6146b3e5bfbe2f3ff67c78591 (diff)
downloadperl-684bef36d5078e84d816e42ce6a73ae4452da2d7.tar.gz
slurp mode fix in change#2910 wasn't quite right (spotted by Hans
Mulder) p4raw-link: @2910 on //depot/perl: fbad3eb55c1f8c84d1dfd0e484ecddeffc891e79 p4raw-id: //depot/perl@4736
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/doio.c b/doio.c
index c13228afe4..4571b2c711 100644
--- a/doio.c
+++ b/doio.c
@@ -452,6 +452,7 @@ Perl_do_open9(pTHX_ GV *gv, register char *name, I32 len, int as_raw,
}
#endif
IoIFP(io) = fp;
+ IoFLAGS(io) &= ~IOf_NOLINE;
if (writing) {
dTHR;
if (IoTYPE(io) == 's'