changeset 15475:93283e9d4b8c

fseek, ftell: Fix doc. * doc/posix-functions/fseek.texi: Reword statement about AC_SYS_LARGEFILE. * doc/posix-functions/ftell.texi: Likewise.
author Bruno Haible <bruno@clisp.org>
date Tue, 26 Jul 2011 02:30:07 +0200
parents 51231c56c0a1
children d569119b11e7
files ChangeLog doc/posix-functions/fseek.texi doc/posix-functions/ftell.texi
diffstat 3 files changed, 11 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-07-25  Bruno Haible  <bruno@clisp.org>
+
+	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  <eggert@cs.ucla.edu>
 	    Bruno Haible  <bruno@clisp.org>
 
--- a/doc/posix-functions/fseek.texi
+++ b/doc/posix-functions/fseek.texi
@@ -19,6 +19,6 @@
 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
--- a/doc/posix-functions/ftell.texi
+++ b/doc/posix-functions/ftell.texi
@@ -28,6 +28,6 @@
 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