]> 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 23:09:16 +0000 (01:09 +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 c79a3ac7e5fc8e6b3a3200347c7488ab7973e352..4ec942b96c5e2730a9f934945e9dec4e47ded9bb 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  Simon Josefsson  <simon@josefsson.org>
 
        maintainer-makefile: Avoid submodule-checks fail without submodules.
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 514689558444fd8ab9e9ce00e3df1a4cb87df2a4..be8a98773494d6606abcdfb1451d957be75b1d30 100644 (file)
@@ -1,5 +1,5 @@
 /* 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
@@ -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 cbfbce3e2bfe97e446660d0bd89afc0d7877685f..2a494ae1ce5d8e77be466109cd6087e3def8d698 100644 (file)
@@ -1,5 +1,5 @@
 /* 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
@@ -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 c7f235c4bda341e86301bb8e75de04caeb85572b..5a7da7c30b68e58a288e93e932d5d2bdb5fb932e 100644 (file)
@@ -1,5 +1,5 @@
 /* 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
@@ -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 6edc2a1f89c45ca388541c1203bccb1515ed6e90..bb56b470391a4c047e0e96f785a8530a8fa669da 100644 (file)
@@ -1,5 +1,5 @@
 /* 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
@@ -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 30f606f73add5fb201bf8de098167abfb837c913..1fcc8d255ab892ad312c69b0fa19dbc2ec659573 100644 (file)
@@ -1,5 +1,5 @@
 /* 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
@@ -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 2504205e3b7db2025230f37978a4f2b5489a4df5..f66f30460a4529cf5d9138ede6c67ef5f5df35a5 100644 (file)
@@ -1,5 +1,5 @@
 /* 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
@@ -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 79209b492cf06d653734413525869f34a40d9ca6..1f29f7f7738abd345b13e1ef146cf09bab237e91 100644 (file)
@@ -1,5 +1,5 @@
 /* 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
@@ -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 f2cbe94779e206787cde7eb6c4b6a568e4c3cd00..3308ffcc3c3d1da8771093055f40ed13cc8ecf61 100644 (file)
@@ -1,5 +1,5 @@
 /* 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
@@ -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)