]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
Fix the previous two commits.
authorCollin Funk <collin.funk1@gmail.com>
Mon, 1 Sep 2025 21:26:59 +0000 (14:26 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Mon, 1 Sep 2025 21:26:59 +0000 (14:26 -0700)
The issue occurs on alpha not hppa. Also add the glibc bug report link
in comments.

ChangeLog
doc/posix-headers/sys_stat.texi
doc/posix-headers/sys_types.texi
tests/test-sys_stat-h.c
tests/test-sys_types-h.c

index fba408e498a51e2ece49bb0a13a864d045911494..67fb38e4573225a14dc529c7bb145d00dc64a1cc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,15 +1,15 @@
 2025-09-01  Collin Funk  <collin.funk1@gmail.com>
 
-       sys_types-h tests: Fix a static_assert failure on glibc/hppa.
-       * tests/test-sys_types-h.c [__GLIBC__ && __hppa]: Don't check that
+       sys_types-h tests: Fix a static_assert failure on glibc/alpha.
+       * tests/test-sys_types-h.c [__GLIBC__ && __alpha]: Don't check that
        blksize_t and blkcnt_t are signed.
        * doc/posix-headers/sys_types.texi: Mention that these types are
        unsigned on this platform.
 
-       sys_stat-h tests: Fix a static_assert failure on glibc/hppa.
+       sys_stat-h tests: Fix a static_assert failure on glibc/alpha.
        Reported by Santiago Vila <sanvila@debian.org> in:
        <https://lists.gnu.org/archive/html/bug-m4/2025-09/msg00000.html>.
-       * tests/test-sys_stat-h.c [__GLIBC__ && __hppa]: Don't check that
+       * tests/test-sys_stat-h.c [__GLIBC__ && __alpha]: Don't check that
        blksize_t and blkcnt_t are signed.
        * doc/posix-headers/sys_stat.texi: Mention that these types are
        unsigned on this platform.
index 1369cbb76887adb27ac8a0089e141cf24a3a63ba..42040420d2561712a0e79331862ab17db44818a7 100644 (file)
@@ -61,7 +61,8 @@ Portability problems not fixed by Gnulib:
 @itemize
 @item
 On some platforms the types @code{blksize_t} and @code{blkcnt_t} are unsigned:
-Android, glibc/HPPA.
+@c https://sourceware.org/PR33355
+Android, glibc/alpha.
 @item
 The macro @code{S_IFBLK} is missing on some platforms:
 MSVC 14.
index 90b8a60fdb78a89fdac258bce83c1fcc3860c5ef..84d9bf7deaed21f339d745167f0bd03fd821b6d9 100644 (file)
@@ -44,7 +44,8 @@ Portability problems not fixed by Gnulib:
 @itemize
 @item
 On some platforms the types @code{blksize_t} and @code{blkcnt_t} are unsigned:
-Android, glibc/HPPA.
+@c https://sourceware.org/PR33355
+Android, glibc/alpha.
 @item
 On some platforms the types @code{blksize_t} and @code{suseconds_t}
 are signed integer types that are wider than @code{long}:
index 0979f037799cea1918e59d68d3b496e6551db0b7..6936cc7a8b847b2e5c2af13f8e92de433c1ef2ae 100644 (file)
@@ -341,12 +341,12 @@ static_assert (TYPE_SIGNED (off_t));
 /* POSIX requires that blksize_t is a signed integer type.  */
 #if !(defined __ANDROID__ \
       || (defined __FreeBSD_kernel__ && !defined __FreeBSD__) \
-      || defined __GLIBC__ && defined __hppa)
+      || defined __GLIBC__ && defined __alpha)
 static_assert (TYPE_SIGNED (blksize_t));
 #endif
 
 /* POSIX requires that blkcnt_t is a signed integer type.  */
-#if !(defined __ANDROID__ || defined __GLIBC__ && defined __hppa)
+#if !(defined __ANDROID__ || defined __GLIBC__ && defined __alpha)
 static_assert (TYPE_SIGNED (blkcnt_t));
 #endif
 
index 9fe0f92884e02863280de2685b7e8012716f0f4d..b3d6abeca0203507446991cbd8293b1b0ab75eec 100644 (file)
@@ -48,12 +48,12 @@ static_assert (TYPE_SIGNED (off64_t));
 /* POSIX requires that blksize_t is a signed integer type.  */
 #if !(defined __ANDROID__ \
       || (defined __FreeBSD_kernel__ && !defined __FreeBSD__) \
-      || defined __GLIBC__ && defined __hppa)
+      || defined __GLIBC__ && defined __alpha)
 static_assert (TYPE_SIGNED (blksize_t));
 #endif
 
 /* POSIX requires that blkcnt_t is a signed integer type.  */
-#if !(defined __ANDROID__ || defined __GLIBC__ && defined __hppa)
+#if !(defined __ANDROID__ || defined __GLIBC__ && defined __alpha)
 static_assert (TYPE_SIGNED (blkcnt_t));
 #endif