From: Bruno Haible Date: Mon, 28 May 2007 14:08:37 +0000 (+0000) Subject: Correct last change. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8d24b1ac259f05436d1706acbf70113ff1bfc17;p=pspp Correct last change. --- diff --git a/doc/functions/fseek.texi b/doc/functions/fseek.texi index b66055db61..05ebab0e19 100644 --- a/doc/functions/fseek.texi +++ b/doc/functions/fseek.texi @@ -18,6 +18,7 @@ Portability problems not fixed by Gnulib: 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 diff --git a/doc/functions/ftell.texi b/doc/functions/ftell.texi index fbf3047962..a657ad4735 100644 --- a/doc/functions/ftell.texi +++ b/doc/functions/ftell.texi @@ -19,6 +19,7 @@ Portability problems not fixed by Gnulib: 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