]> Savannah Git Hosting - gnulib.git/commitdiff
stdioext: Update comments regarding Haiku.
authorBruno Haible <bruno@clisp.org>
Mon, 7 Apr 2025 08:55:46 +0000 (10:55 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 14 Apr 2025 22:37:27 +0000 (00:37 +0200)
* 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.

ChangeLog
lib/fbufmode.c
lib/fpending.c
lib/freadable.c
lib/freadahead.c
lib/freadptr.c
lib/freadseek.c
lib/fseterr.c
lib/fwritable.c
lib/fwriting.c

index dab6369e1d67889e6519a8520538d2582093b53e..22ebaf193d07822eac19b96ad2d342a402dbc1c6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+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
index db0e6b456b94ebcb57de8ce9b3257ef9aabdd74e..440f019ed15d41125553cbb03d0c401345ecf359 100644 (file)
@@ -38,7 +38,7 @@ fbufmode (FILE *fp)
 #  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
index 7614b6078323ff11eb9267af0179a42a0ce85395..be8a98773494d6606abcdfb1451d957be75b1d30 100644 (file)
@@ -26,7 +26,7 @@
 
 /* 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.  */
index 1366681dbfc6d282e9d440447065138b7dae81ef..2a494ae1ce5d8e77be466109cd6087e3def8d698 100644 (file)
@@ -27,7 +27,7 @@
 
 /* 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)
index 83258f2f3955db0af4c8c085aea919bb6dead120..5a7da7c30b68e58a288e93e932d5d2bdb5fb932e 100644 (file)
@@ -28,7 +28,7 @@ extern size_t __sreadahead (FILE *);
 #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)
index 1c285c2e6dc2f56fa8af6ae6a64d801ae5074b89..bb56b470391a4c047e0e96f785a8530a8fa669da 100644 (file)
@@ -24,7 +24,7 @@
 #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)
index 582400cbb6c7e7b396b6d0d4b973f91ed5c50305..1fcc8d255ab892ad312c69b0fa19dbc2ec659573 100644 (file)
@@ -34,10 +34,10 @@ static void
 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 */
index a1279a553a1adbaeb9646a5c7add13a2778b2adf..f66f30460a4529cf5d9138ede6c67ef5f5df35a5 100644 (file)
@@ -24,7 +24,7 @@
 #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)
index 4f512ec071333bb308e6c4135e6a2e95d6e38b38..1f29f7f7738abd345b13e1ef146cf09bab237e91 100644 (file)
@@ -27,7 +27,7 @@
 
 /* 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)
index 252c28a2deb3c127579e58a51d4b326f5c505eea..3308ffcc3c3d1da8771093055f40ed13cc8ecf61 100644 (file)
@@ -23,7 +23,7 @@
 
 /* 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)