From: Bruno Haible Date: Sun, 21 Mar 2021 11:30:33 +0000 (+0100) Subject: ftell: Document bug in macOS >= 10.15. X-Git-Tag: v1.0~3020 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=49855b3b49b035f86a6f31d7cf46934baeba5afd;p=gnulib.git ftell: Document bug in macOS >= 10.15. * doc/posix-functions/ftell.texi: Mention the macOS bug. --- diff --git a/ChangeLog b/ChangeLog index 77bf17513b..72ff47c8f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2021-03-21 Bruno Haible + + ftell: Document bug in macOS >= 10.15. + * doc/posix-functions/ftell.texi: Mention the macOS bug. + 2021-03-20 Bruno Haible ftello: Work around bug in macOS >= 10.15. 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: