diff options
author | Leon Timmermans <fawaka@gmail.com> | 2011-03-25 12:55:46 +0100 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-03-25 10:27:20 -0700 |
commit | 5da08ab0c45e6850ad1ad3d66f3796f19bf0eaae (patch) | |
tree | 9e446a06fd837b362948e7d5b2bb155865114d49 /perlio.c | |
parent | 2703c26dfadb73c5713e0c28ad8579537dfa4674 (diff) | |
download | perl-5da08ab0c45e6850ad1ad3d66f3796f19bf0eaae.tar.gz |
Update comment for PerlIOCrlf_pushed wrt 7826b36
7826b36fbbf24cfa659558ee5af3de424faa2d5a changed the behavior of
PerlIOCrlf_pushed but its comment wasn't updated along with it.
Diffstat (limited to 'perlio.c')
-rw-r--r-- | perlio.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -4544,10 +4544,8 @@ PerlIOCrlf_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, PerlIO_funcs *tab) PerlIOBase(f)->flags); #endif { - /* Enable the first CRLF capable layer you can find, but if none - * found, the one we just pushed is fine. This results in at - * any given moment at most one CRLF-capable layer being enabled - * in the whole layer stack. */ + /* If the old top layer is a CRLF layer, reactivate it (if + * necessary) and remove this new layer from the stack */ PerlIO *g = PerlIONext(f); if (PerlIOValid(g)) { PerlIOl *b = PerlIOBase(g); |