+2025-09-01 Collin Funk <collin.funk1@gmail.com>
+
+ sys_stat-h tests: Fix a static_assert failure on glibc/hppa.
+ 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
+ blksize_t and blkcnt_t are signed.
+ * doc/posix-headers/sys_stat.texi: Mention that these types are
+ unsigned on this platform.
+
2025-09-01 Paul Eggert <eggert@cs.ucla.edu>
tests: more fixes for AT_FDCWD portability
@itemize
@item
On some platforms the types @code{blksize_t} and @code{blkcnt_t} are unsigned:
-Android.
+Android, glibc/HPPA.
@item
The macro @code{S_IFBLK} is missing on some platforms:
MSVC 14.
static_assert (TYPE_SIGNED (off_t));
/* POSIX requires that blksize_t is a signed integer type. */
-#if !(defined __ANDROID__ || (defined __FreeBSD_kernel__ && !defined __FreeBSD__))
+#if !(defined __ANDROID__ \
+ || (defined __FreeBSD_kernel__ && !defined __FreeBSD__) \
+ || defined __GLIBC__ && defined __hppa)
static_assert (TYPE_SIGNED (blksize_t));
#endif
/* POSIX requires that blkcnt_t is a signed integer type. */
-#if !defined __ANDROID__
+#if !(defined __ANDROID__ || defined __GLIBC__ && defined __hppa)
static_assert (TYPE_SIGNED (blkcnt_t));
#endif