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.
@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.
@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}:
/* 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
/* 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