You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-cvs@perl.apache.org by st...@apache.org on 2002/06/05 13:37:16 UTC

cvs commit: modperl-docs/src/docs/2.0/api/mod_perl-2.0/APR PerlIO.pod

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<open()>
   manpage.
   
  +=item seek()
  +
  +  seek($fh, $offset, $whence);
  +
  +If C<$offset> is zero, C<seek()> 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<Off_t> simply
  +cannot fit into a non-largefile size C<apr_off_t>.
  +
  +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