]> Savannah Git Hosting - gnulib.git/commit
sys_types-h: Ensure blksize_t and blkcnt_t are defined.
authorBruno Haible <bruno@clisp.org>
Fri, 17 Jan 2025 21:32:58 +0000 (22:32 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 17 Jan 2025 21:32:58 +0000 (22:32 +0100)
commit4af8d6a0e574ea39b65517cfcb198d7d81e03d65
tree0648aaf44c674cef7239ac2497bef46920ae51f5
parent83f323021530b11679bf2d029c9e4c43cf64808f
sys_types-h: Ensure blksize_t and blkcnt_t are defined.

* lib/sys_types.in.h (blksize_t, blkcnt_t): New definitions.
* m4/sys_types_h.m4 (gl_SYS_TYPES_H): Set HAVE_BLKSIZE_T and
HAVE_BLKCNT_T.
* modules/sys_types-h (Makefile.am): Substitute HAVE_BLKSIZE_T and
HAVE_BLKCNT_T.
* tests/test-sys_types-h.c: Check that blksize_t and blkcnt_t are
defined. Include intprops.h. Check the signedness of various types.
* modules/sys_types-h-tests (Depends-on): Add assert-h, intprops.
* doc/posix-headers/sys_types.texi: Mention the issues with blksize_t
and blkcnt_t.
ChangeLog
doc/posix-headers/sys_types.texi
lib/sys_types.in.h
m4/sys_types_h.m4
modules/sys_types-h
modules/sys_types-h-tests
tests/test-sys_types-h.c