develooper Front page | perl.perl5.porters | Postings from March 2011

[perl #38456] The :crlf PerlIO layer doesn't like the :encoding layer.

Thread Previous
From:
Father Chrysostomos via RT
Date:
March 25, 2011 10:28
Subject:
[perl #38456] The :crlf PerlIO layer doesn't like the :encoding layer.
Message ID:
rt-3.6.HEAD-16385-1301074114-845.38456-14-0@perl.org
On Fri Mar 25 05:20:25 2011, LeonT wrote:
> On Fri, Jan 28, 2011 at 6:43 AM, Father Chrysostomos via RT
> <perlbug-followup@perl.org> wrote:
> > On Thu Jan 20 15:04:30 2011, LeonT wrote:
> >> I've attached a possible fix for this bug. The patch is relative to my
> >> patches for #82484 but it doesn't depend on it.
> >>
> >> Currently, if a «:crlf» layer is given it will first try to (re)enable
> >> any crlf layer it can find or else push itself on the stack. This can
> >> lead to data corruption. In this patch I've changed it to only
check the
> >> topmost layer.
> >>
> >> Testing it would be very welcome, in particular on Windows (not my
> > habitat).
> >>
> >> Leon
> >
> > Thank you. I have just applied this as 7826b36. Let’s see whether it
> > breaks Windows. :-)
> 
> Comment and documentation updates with regard to the previous patch.
> No code changes.

Thank you. Applied as 8dcd593 and 5da08ab.


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About