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

fseek() vs fseeko() on FreeBSD

Thread Next
Matt Sergeant
July 19, 2003 08:06
fseek() vs fseeko() on FreeBSD
Message ID:
I just had someone send me a query about CDB_File on FreeBSD accessing 
files over 2GB.

I recently changed all the code in CDB_File to use PerlIO_* calls 
instead of direct filesystem level calls. But apparently PerlIO_seek() 
maps to fseek(), whereas to access files >2GB you need to use fseeko().

Any chance this is something worth fixing in the perl core, or shall I 
just patch it locally in CDB_File?


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About