summaryrefslogtreecommitdiff
path: root/doc/posix-functions
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2021-03-21 12:30:33 +0100
committerBruno Haible <bruno@clisp.org>2021-03-21 12:30:33 +0100
commit49855b3b49b035f86a6f31d7cf46934baeba5afd (patch)
treefd1171147aac651efdd94cb6b76ba31a08354156 /doc/posix-functions
parenta646e362fce5952d55073792799cdc8fa29ab253 (diff)
downloadgnulib-49855b3b49b035f86a6f31d7cf46934baeba5afd.tar.gz
ftell: Document bug in macOS >= 10.15.
* doc/posix-functions/ftell.texi: Mention the macOS bug.
Diffstat (limited to 'doc/posix-functions')
-rw-r--r--doc/posix-functions/ftell.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/posix-functions/ftell.texi b/doc/posix-functions/ftell.texi
index 21ebc00c76..3d405bf2a1 100644
--- a/doc/posix-functions/ftell.texi
+++ b/doc/posix-functions/ftell.texi
@@ -15,6 +15,11 @@ mingw, MSVC 14.
This function produces incorrect results after @code{putc} that followed a
@code{getc} call that reached EOF on some platforms:
Solaris 11 2010-11.
+@item
+This function, when invoked after @code{ungetc}, throws away the @code{ungetc}
+buffer, changes the stream's file position, and returns the wrong position on
+some platforms:
+macOS 10.15 and newer.
@end itemize
Portability problems not fixed by Gnulib: