* 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 Simon Josefsson <simon@josefsson.org>
maintainer-makefile: Avoid submodule-checks fail without submodules.
# 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
/* fpending.c -- return the number of pending output bytes on a stream
- Copyright (C) 2000, 2004, 2006-2007, 2009-2024 Free Software Foundation,
+ Copyright (C) 2000, 2004, 2006-2007, 2009-2025 Free Software Foundation,
Inc.
This program is free software: you can redistribute it and/or modify
/* 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. */
/* Retrieve information about a FILE stream.
- Copyright (C) 2007-2024 Free Software Foundation, Inc.
+ Copyright (C) 2007-2025 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
/* 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)
/* Retrieve information about a FILE stream.
- Copyright (C) 2007-2024 Free Software Foundation, Inc.
+ Copyright (C) 2007-2025 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
#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)
/* Retrieve information about a FILE stream.
- Copyright (C) 2007-2024 Free Software Foundation, Inc.
+ Copyright (C) 2007-2025 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
#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)
/* Skipping input from a FILE stream.
- Copyright (C) 2007-2024 Free Software Foundation, Inc.
+ Copyright (C) 2007-2025 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
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 */
/* Set the error indicator of a stream.
- Copyright (C) 2007-2024 Free Software Foundation, Inc.
+ Copyright (C) 2007-2025 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
#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)
/* Retrieve information about a FILE stream.
- Copyright (C) 2007-2024 Free Software Foundation, Inc.
+ Copyright (C) 2007-2025 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
/* 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)
/* Retrieve information about a FILE stream.
- Copyright (C) 2007-2024 Free Software Foundation, Inc.
+ Copyright (C) 2007-2025 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
/* 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)