> * doc/posix-functions/ftello.texi: Mention the macOS bug. The ftello bug is, of course, also reflected as an ftell bug.
2021-03-21 Bruno Haible <br...@clisp.org> ftell: Document bug in macOS >= 10.15. * doc/posix-functions/ftell.texi: Mention the macOS bug. diff --git a/doc/posix-functions/ftell.texi b/doc/posix-functions/ftell.texi index 21ebc00..3d405bf 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: