* lib/fbufmode.c (fbufmode): Update comment.
* lib/fpending.c: Likewise.
* lib/freadable.c: Likewise.
* lib/freadahead.c: Likewise.
* lib/freadptr.c: Likewise.
* lib/freadseek.c (freadptrinc): Likewise.
* lib/fseterr.c: Likewise.
* lib/fwritable.c: Likewise.
* lib/fwriting.c: Likewise.
+2025-04-07 Bruno Haible <bruno@clisp.org>
+
+ stdioext: Update comments regarding Haiku.
+ * lib/fbufmode.c (fbufmode): Update comment.
+ * lib/fpending.c: Likewise.
+ * lib/freadable.c: Likewise.
+ * lib/freadahead.c: Likewise.
+ * lib/freadptr.c: Likewise.
+ * lib/freadseek.c (freadptrinc): Likewise.
+ * lib/fseterr.c: Likewise.
+ * lib/fwritable.c: Likewise.
+ * lib/fwriting.c: Likewise.
+
2025-04-07 Paul Eggert <eggert@cs.ucla.edu>
file-has-acl: port symlink code to Cygwin
# define fp_ fp
# endif
/* GNU libc, BeOS, Haiku, Linux libc5 */
-# if HAVE___FLBF /* glibc >= 2.2 */
+# if HAVE___FLBF /* glibc >= 2.2, Haiku >= hrev58760 */
if (__flbf (fp))
return _IOLBF;
# else
/* This file is not used on systems that already have the __fpending function,
namely glibc >= 2.2, Solaris >= 7, UnixWare >= 7.1.4.MP4, Cygwin >= 1.7.34,
- Android API >= 23. */
+ Android API >= 23, musl libc, Haiku >= hrev58760. */
/* Return the number of pending (aka buffered, unflushed)
bytes on the stream, FP, that is open for writing. */
/* This file is not used on systems that have the __freadable function,
namely glibc >= 2.2, Solaris >= 7, UnixWare >= 7.1.4.MP4, Cygwin >= 1.7.34,
- Android API >= 23, musl libc. */
+ Android API >= 23, musl libc, Haiku >= hrev58760. */
bool
freadable (FILE *fp)
#endif
/* This file is not used on systems that have the __freadahead function,
- namely musl libc. */
+ namely musl libc, Haiku >= hrev58760. */
size_t
freadahead (FILE *fp)
#include "stdio-impl.h"
/* This file is not used on systems that have the __freadptr function,
- namely musl libc. */
+ namely musl libc, Haiku >= hrev58760. */
const char *
freadptr (FILE *fp, size_t *sizep)
freadptrinc (FILE *fp, size_t increment)
{
/* Keep this code in sync with freadptr! */
-#if HAVE___FREADPTRINC /* musl libc */
+#if HAVE___FREADPTRINC /* musl libc, Haiku >= hrev58760 */
__freadptrinc (fp, increment);
#elif defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1
- /* GNU libc, BeOS, Haiku, Linux libc5 */
+ /* GNU libc, BeOS, Haiku < hrev58760, Linux libc5 */
fp->_IO_read_ptr += increment;
#elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
/* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */
#include "stdio-impl.h"
/* This file is not used on systems that have the __fseterr function,
- namely musl libc. */
+ namely musl libc, Haiku >= hrev58760. */
void
fseterr (FILE *fp)
/* This file is not used on systems that have the __fwritable function,
namely glibc >= 2.2, Solaris >= 7, UnixWare >= 7.1.4.MP4, Cygwin >= 1.7.34,
- Android API >= 23, musl libc. */
+ Android API >= 23, musl libc, Haiku >= hrev58760. */
bool
fwritable (FILE *fp)
/* This file is not used on systems that have the __fwriting function,
namely glibc >= 2.2, Solaris >= 7, UnixWare >= 7.1.4.MP4, Cygwin >= 1.7.34,
- Android API >= 29, musl libc. */
+ Android API >= 29, musl libc, Haiku >= hrev58760. */
bool
fwriting (FILE *fp)