fseek, ftell: Fix doc.
authorBruno Haible <bruno@clisp.org>
Tue, 26 Jul 2011 00:30:07 +0000 (02:30 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 26 Jul 2011 00:50:08 +0000 (02:50 +0200)
* doc/posix-functions/fseek.texi: Reword statement about
AC_SYS_LARGEFILE.
* doc/posix-functions/ftell.texi: Likewise.

ChangeLog
doc/posix-functions/fseek.texi
doc/posix-functions/ftell.texi

index 27ef7ad20736352b47eaaae4543c71711efe7322..cbf42ee17c4be500e851ac5ed71a80691943be16 100644 (file)
--- 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>
 
index cf1e87f104340882c4e4ad6d1371b39b35e1d79d..23cedd7254683371a2cdf0a6bab9c35d98e966cd 100644 (file)
@@ -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
index 993a87007859130a6ed5ffa050f52c9c235bbc58..77ee8845b78f66f4728455ec48bb523fb3844105 100644 (file)
@@ -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