[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issues with posix functions on modern macOS/Xcode
From: |
Bruno Haible |
Subject: |
Re: Issues with posix functions on modern macOS/Xcode |
Date: |
Sun, 21 Mar 2021 14:58:24 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-203-generic; KDE/5.18.0; x86_64; ; ) |
> * 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 <bruno@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: