develooper Front page | perl.perl5.porters | Postings from May 2003

Re: Meaning of sysread()

Thread Previous | Thread Next
From:
Graham Barr
Date:
May 21, 2003 10:00
Subject:
Re: Meaning of sysread()
Message ID:
20030521180014.Y6593@pobox.com
On Wed, May 21, 2003 at 05:54:17PM +0100, Nick Ing-Simmons wrote:
> >   - sysread() is supposed to be a more direct system read that avoids
> >     the intermediate layers of processing. This definately includes STDIO,
> >     and as far as I am concerned, it definatesly includes filtering.
> 
> That is certainly my _personal_ view too - but as designer/maintainer
> I started this thread to (A) make sure that I was not alone in that view
> and (B) to try and collect arguments for the other side as well.

Well thats my view too.

> The ticket was caused by Net::FTP script using sysread() and perl5.6.1
> on Win32 did CRLF translation on that and it worked. 5.8 does not 
> so file becomes CRCRLF on the wire and CRLF when de-ASCIIed at other end.

Yup, I get reports about this quite often.

Graham.

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