From: Bruno Haible Date: Tue, 26 Jul 2011 00:30:07 +0000 (+0200) Subject: fseek, ftell: Fix doc. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0ff72b95999d6a0e9fe7151c713352f154ad70a;p=pspp fseek, ftell: Fix doc. * doc/posix-functions/fseek.texi: Reword statement about AC_SYS_LARGEFILE. * doc/posix-functions/ftell.texi: Likewise. --- diff --git a/ChangeLog b/ChangeLog index 27ef7ad207..cbf42ee17c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-07-25 Bruno Haible + + fseek, ftell: Fix doc. + * doc/posix-functions/fseek.texi: Reword statement about + AC_SYS_LARGEFILE. + * doc/posix-functions/ftell.texi: Likewise. + 2011-07-25 Paul Eggert Bruno Haible diff --git a/doc/posix-functions/fseek.texi b/doc/posix-functions/fseek.texi index cf1e87f104..23cedd7254 100644 --- a/doc/posix-functions/fseek.texi +++ b/doc/posix-functions/fseek.texi @@ -19,6 +19,6 @@ On Windows platforms (excluding Cygwin), this function does not set @code{errno} upon failure. @item 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. +correctly with files larger than 2 GB, even when the @code{AC_SYS_LARGEFILE} +macro is used. The fix is to use @code{fseeko} instead. @end itemize diff --git a/doc/posix-functions/ftell.texi b/doc/posix-functions/ftell.texi index 993a870078..77ee8845b7 100644 --- a/doc/posix-functions/ftell.texi +++ b/doc/posix-functions/ftell.texi @@ -28,6 +28,6 @@ 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{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. +correctly with files larger than 2 GB, even when the @code{AC_SYS_LARGEFILE} +macro is used. The fix is to use @code{ftello} instead. @end itemize