Return-Path: Delivered-To: apmail-perl-docs-cvs-archive@perl.apache.org Received: (qmail 82392 invoked by uid 500); 5 Jun 2002 11:37:16 -0000 Mailing-List: contact docs-cvs-help@perl.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list docs-cvs@perl.apache.org Received: (qmail 82379 invoked by uid 500); 5 Jun 2002 11:37:16 -0000 Delivered-To: apmail-modperl-docs-cvs@apache.org Date: 5 Jun 2002 11:37:16 -0000 Message-ID: <20020605113716.31532.qmail@icarus.apache.org> From: stas@apache.org To: modperl-docs-cvs@apache.org Subject: cvs commit: modperl-docs/src/docs/2.0/api/mod_perl-2.0/APR PerlIO.pod X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N stas 2002/06/05 04:37:16 Modified: src/docs/2.0/api/mod_perl-2.0/APR PerlIO.pod Log: document the fact that seek only works if both perl and apr have the matching largefile support Revision Changes Path 1.5 +14 -0 modperl-docs/src/docs/2.0/api/mod_perl-2.0/APR/PerlIO.pod Index: PerlIO.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/docs/2.0/api/mod_perl-2.0/APR/PerlIO.pod,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- PerlIO.pod 19 May 2002 09:40:53 -0000 1.4 +++ PerlIO.pod 5 Jun 2002 11:37:16 -0000 1.5 @@ -55,6 +55,20 @@ the rest of the arguments are the same as described by the I manpage. +=item seek() + + seek($fh, $offset, $whence); + +If C<$offset> is zero, C works normally. + +However if C<$offset> is non-zero and Perl has been compiled with with +large files support (C<-Duselargefiles>), whereas APR wasn't, this +function will croak. This is because largefile size C simply +cannot fit into a non-largefile size C. + +To solve the problem, rebuild Perl with C<-Uuselargefiles>. Currently +there is no way to force APR to build with large files support. + =back The C interface provides functions to convert between Perl IO and --------------------------------------------------------------------- To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org For additional commands, e-mail: docs-cvs-help@perl.apache.org