Re: Confused by sysread()

2012-04-09 Thread Roger Burton West
On Mon, Apr 09, 2012 at 02:52:10PM -0700, Yitzchak Scott-Thoennes wrote: >You've probably switched from perl using stdio to using perlio. The perl I have certainly has USE_PERLIO set. >You >could compile 5.10.1 with usestdio to see if that makes a difference. >Or you could try a newer perl and s

Re: Confused by sysread()

2012-04-09 Thread Yitzchak Scott-Thoennes
On Mon, Apr 9, 2012 at 2:52 PM, Yitzchak Scott-Thoennes wrote: > Which strikes a vague bell... Sorry, ring bells, strike chords.

Re: Confused by sysread()

2012-04-09 Thread Yitzchak Scott-Thoennes
On Mon, Apr 9, 2012 at 2:32 PM, Roger Burton West wrote: > Under Linux amd64 and Perl 5.10.1, I'm trying to read from a pair of > devices which will produce data in 16-byte blocks. (I can cat the device > files - as the same user - and verify that they do this.) > > Under Perl 5.8 (and an earlier

Confused by sysread()

2012-04-09 Thread Roger Burton West
Under Linux amd64 and Perl 5.10.1, I'm trying to read from a pair of devices which will produce data in 16-byte blocks. (I can cat the device files - as the same user - and verify that they do this.) Under Perl 5.8 (and an earlier i386 Linux), this worked. Now sysread() is failing with an "Invalid