develooper Front page | perl.perl5.porters | Postings from April 2012

[perl #112244] PerlIO_unread fails easily when :crlf is active

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
April 4, 2012 21:44
Subject:
[perl #112244] PerlIO_unread fails easily when :crlf is active
Message ID:
rt-3.6.HEAD-4610-1333601077-1858.112244-15-0@perl.org
On Wed Apr 04 10:47:08 2012, derhoermi@gmx.net wrote:
> Hi,
> 
>   I ran into trouble using IO::Unread which uses PerlIO_unread to unread
> to a handle, every now and then it would unread less than what it should
> have. Discussing this on #p5p it turned out that the :crlf layer was the
> problem (binmode-ing the handle solved the issue) and leont asked me to
> file a bug about it. I can supply a test case (relying on IO::Unread) if
> necessary.

Please do.  Thank you.

A test case using only core modules is ideal, but one that does not meet
the ideal is better than none. :-)

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: new
https://rt.perl.org:443/rt3/Ticket/Display.html?id=112244

Thread Previous | Thread Next


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