Eric Blake wrote:
> --- doc/functions/fseek.texi  1 May 2007 15:11:38 -0000       1.1
> +++ doc/functions/fseek.texi  24 May 2007 16:21:36 -0000
> @@ -15,4 +17,7 @@ Portability problems not fixed by Gnulib
>  @item
>  On Windows platforms (excluding Cygwin), this function does not set @code
> {errno}
>  upon failure.
> [EMAIL PROTECTED]
> +On platforms where @code{off_t} is a 32-bit type, @code{fseek} does not work
> +correctly with files larger than 2 GB.  The fix is to use fseeko instead.
>  @end itemize
> --- doc/functions/ftell.texi  1 May 2007 15:11:38 -0000       1.1
> +++ doc/functions/ftell.texi  24 May 2007 16:21:36 -0000
> @@ -16,4 +18,7 @@ Portability problems not fixed by Gnulib
>  @code{fflush}, @code{ftell}, @code{ftello}, @code{fgetpos} behave incorrectly
>  on input streams that are opened in @code{O_TEXT} mode and whose contents
>  contains Unix line terminators (LF), on some platforms: mingw.
> [EMAIL PROTECTED]
> +On platforms where @code{off_t} is a 32-bit type, @code{ftell} does not work
> +correctly with files larger than 2 GB.  The fix is to use ftello instead.
>  @end itemize

This text makes no sense. I'm correcting it like this:

--- doc/functions/fseek.texi    24 May 2007 16:59:21 -0000      1.2
+++ doc/functions/fseek.texi    28 May 2007 14:06:22 -0000
@@ -18,6 +18,7 @@
 On Windows platforms (excluding Cygwin), this function does not set 
@code{errno}
 upon failure.
 @item
-On platforms where @code{off_t} is a 32-bit type, @code{fseek} does not work
-correctly with files larger than 2 GB.  The fix is to use fseeko instead.
+On platforms where @code{long} is a 32-bit type, @code{fseek} does not work
+correctly with files larger than 2 GB.  The fix is to use @code{fseeko}
+instead and to invoke the @code{AC_SYS_LARGEFILE} macro.
 @end itemize
--- doc/functions/ftell.texi    24 May 2007 16:59:21 -0000      1.2
+++ doc/functions/ftell.texi    28 May 2007 14:06:22 -0000
@@ -19,6 +19,7 @@
 on input streams that are opened in @code{O_TEXT} mode and whose contents
 contains Unix line terminators (LF), on some platforms: mingw.
 @item
-On platforms where @code{off_t} is a 32-bit type, @code{ftell} does not work
-correctly with files larger than 2 GB.  The fix is to use ftello instead.
+On platforms where @code{long} is a 32-bit type, @code{ftell} does not work
+correctly with files larger than 2 GB.  The fix is to use @code{ftello}
+instead and to invoke the @code{AC_SYS_LARGEFILE} macro.
 @end itemize

Bruno



Reply via email to