summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-07-26 02:30:07 +0200
committerBruno Haible <bruno@clisp.org>2011-07-26 02:50:08 +0200
commitc0ff72b95999d6a0e9fe7151c713352f154ad70a (patch)
treed174ea875c36d6ab46b6d789a0b80fa6fa255aa4
parent599a664564268f6a1b5895c928a59459c9851b2a (diff)
downloadgnulib-c0ff72b95999d6a0e9fe7151c713352f154ad70a.tar.gz
fseek, ftell: Fix doc.
* doc/posix-functions/fseek.texi: Reword statement about AC_SYS_LARGEFILE. * doc/posix-functions/ftell.texi: Likewise.
-rw-r--r--ChangeLog7
-rw-r--r--doc/posix-functions/fseek.texi4
-rw-r--r--doc/posix-functions/ftell.texi4
3 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 27ef7ad207..cbf42ee17c 100644
--- 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>
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