diff options
author | Goro Fuji <unknown> | 2008-05-25 16:10:42 -0700 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2008-11-08 04:21:44 +0000 |
commit | 5fae6dc1d23a9b59e9fc4a976e5c42f399ad3872 (patch) | |
tree | 9f302410cd1715e3aa4cfe6ba70eb2eaab90e13b | |
parent | 3ff3a8b6a30dcb820ca4496cf2621960aa48a0c5 (diff) | |
download | perl-5fae6dc1d23a9b59e9fc4a976e5c42f399ad3872.tar.gz |
[perl #54828] perlio.c has a problem (both 5.8 and 5.10)
From: "Goro Fuji" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-11257-1211782242-1590.54828-75-0@perl.org>
The second part of the patch. The first part was in change #33978.
p4raw-link: @33978 on //depot/perl: 9d97e8b8cac47626e28c79994e7ab0d5c8589515
p4raw-id: //depot/perl@34774
-rw-r--r-- | perlio.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -4640,9 +4640,7 @@ PerlIOCrlf_binmode(pTHX_ PerlIO *f) PerlIOBase(f)->flags &= ~PERLIO_F_CRLF; #ifndef PERLIO_USING_CRLF /* CRLF is unusual case - if this is just the :crlf layer pop it */ - if (PerlIOBase(f)->tab == &PerlIO_crlf) { - PerlIO_pop(aTHX_ f); - } + PerlIO_pop(aTHX_ f); #endif } return 0; |