* modules/stdckdint-h: Renamed from modules/stdckdint.
* modules/stdckdint-h-tests: Renamed from modules/stdckdint-tests.
* modules/stdckdint-h-c++-tests: Renamed from
modules/stdckdint-c++-tests.
* tests/test-stdckdint-h.c: Renamed from tests/test-stdckdint.c.
* tests/test-stdckdint-h-c++.cc: Renamed from
tests/test-stdckdint-c++.cc.
* doc/posix-headers/stdckdint.texi: Update.
* doc/intprops.texi: Update.
* modules/* (Depends-on): Update.
* modules/stdckdint: New file.
+2024-12-27 Bruno Haible <bruno@clisp.org>
+
+ Rename module stdckdint to stdckdint-h.
+ * modules/stdckdint-h: Renamed from modules/stdckdint.
+ * modules/stdckdint-h-tests: Renamed from modules/stdckdint-tests.
+ * modules/stdckdint-h-c++-tests: Renamed from
+ modules/stdckdint-c++-tests.
+ * tests/test-stdckdint-h.c: Renamed from tests/test-stdckdint.c.
+ * tests/test-stdckdint-h-c++.cc: Renamed from
+ tests/test-stdckdint-c++.cc.
+ * doc/posix-headers/stdckdint.texi: Update.
+ * doc/intprops.texi: Update.
+ * modules/* (Depends-on): Update.
+ * modules/stdckdint: New file.
+
2024-12-27 Bruno Haible <bruno@clisp.org>
Rename module stdbool to stdbool-h.
restrictions.
@end table
-@mindex stdckdint
+@mindex stdckdint-h
If your code includes @code{<intprops.h>} only for these @code{_WRAPV}
-macros, you may prefer to use Gnulib's @code{stdckdint} module
+macros, you may prefer to use Gnulib's @code{stdckdint-h} module
instead, as it supports similar macros that were standardized in C23
and are therefore independent of Gnulib if your code can assume C23 or
later. @xref{stdckdint.h}.
(@url{https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3220.pdf})
section 7.20.
-Gnulib module: stdckdint
-@mindex stdckdint
+Gnulib module: stdckdint-h
+@mindex stdckdint-h
Portability problems fixed by Gnulib:
@itemize
extern-inline
idx
posix_memalign
-stdckdint
+stdckdint-h
stdint
configure.ac:
readdir
renameatu
stdbool-h
-stdckdint
+stdckdint-h
stdint
xalloc-oversized
readdir
renameatu
stdbool-h
-stdckdint
+stdckdint-h
stdint
xalloc-die
ialloc
stdbool-h
memchr
-stdckdint
+stdckdint-h
configure.ac:
gl_FUNC_BASE32
ialloc
stdbool-h
memchr
-stdckdint
+stdckdint-h
configure.ac:
gl_FUNC_BASE64
libc-config
locale-h
stdbool-h
-stdckdint
+stdckdint-h
time_rz
configure.ac:
Depends-on:
calloc-posix
extensions-aix
-stdckdint [test $REPLACE_CALLOC_FOR_CALLOC_GNU = 1]
+stdckdint-h [test $REPLACE_CALLOC_FOR_CALLOC_GNU = 1]
configure.ac:
gl_FUNC_CALLOC_GNU
m4/malloc.m4
Depends-on:
-stdckdint [test $REPLACE_CALLOC_FOR_CALLOC_POSIX = 1]
+stdckdint-h [test $REPLACE_CALLOC_FOR_CALLOC_POSIX = 1]
stdlib
configure.ac:
nanosleep
stat-time
stdbool-h
-stdckdint
+stdckdint-h
symlink
xconcat-filename
xgetcwd
nanosleep
openat-h
stat-time
-stdckdint
+stdckdint-h
symlink
xconcat-filename
xgetcwd
ignore-value
nanosleep
openat
-stdckdint
+stdckdint-h
timespec
dup
utimecmp
ssize_t
stat
stdbool-h
-stdckdint
+stdckdint-h
configure.ac:
gl_FILE_HAS_ACL
isblank [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
libc-config [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
stdbool-h [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
-stdckdint [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
+stdckdint-h [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
strnlen [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
uchar [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
memchr [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
largefile
sys_types
lseek [test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1]
-stdckdint [test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1]
+stdckdint-h [test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1]
# Just to guarantee consistency between ftell() and ftello().
ftell
fcntl-h
ignore-value
nanosleep
-stdckdint
+stdckdint-h
timespec
dup
utimecmp
gen-header
libc-config
stdbool-h
-stdckdint
+stdckdint-h
stddef
configure.ac:
readdir [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
glibc-internal/scratch_buffer [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
stdbool-h [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
-stdckdint [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
+stdckdint-h [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
stdint [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
strdup [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
unistd [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
extensions
getgroups [test $HAVE_GROUP_MEMBER = 0]
malloc-gnu [test $HAVE_GROUP_MEMBER = 0]
-stdckdint [test $HAVE_GROUP_MEMBER = 0]
+stdckdint-h [test $HAVE_GROUP_MEMBER = 0]
configure.ac:
gl_FUNC_GROUP_MEMBER
ignore-value
mgetgroups
nanosleep
-stdckdint
+stdckdint-h
stat-time
stdbool-h
symlink
Depends-on:
malloc-posix
extensions-aix
-stdckdint [test $REPLACE_CALLOC_FOR_MALLOC_GNU = 1]
+stdckdint-h [test $REPLACE_CALLOC_FOR_MALLOC_GNU = 1]
configure.ac:
gl_FUNC_MALLOC_GNU
m4/malloc.m4
Depends-on:
-stdckdint [test $REPLACE_CALLOC_FOR_MALLOC_POSIX = 1]
+stdckdint-h [test $REPLACE_CALLOC_FOR_MALLOC_POSIX = 1]
stdlib
configure.ac:
assert-h
extensions-aix
idx
-stdckdint
+stdckdint-h
stdint
xalloc-oversized
intprops [test $REPLACE_MKTIME = 1]
libc-config [test $REPLACE_MKTIME = 1]
stdbool-h [test $REPLACE_MKTIME = 1]
-stdckdint [test $REPLACE_MKTIME = 1]
+stdckdint-h [test $REPLACE_MKTIME = 1]
time_r [test $REPLACE_MKTIME = 1]
configure.ac:
libc-config
localename-unsafe-limited
stdbool-h
-stdckdint
+stdckdint-h
time_rz
configure.ac:
intprops
inttypes-h
mktime
-stdckdint
+stdckdint-h
time-h
time_r
time_rz
Depends-on:
extensions
-stdckdint [test $REPLACE_POSIX_MEMALIGN = 1]
+stdckdint-h [test $REPLACE_POSIX_MEMALIGN = 1]
stdlib
configure.ac:
idx
mktime
stdbool-h
-stdckdint
+stdckdint-h
time
verify
Depends-on:
extensions-aix
-stdckdint [test $REPLACE_REALLOC_FOR_REALLOC_POSIX != 0]
+stdckdint-h [test $REPLACE_REALLOC_FOR_REALLOC_POSIX != 0]
stdlib
configure.ac:
Depends-on:
extensions
realloc-posix [test $HAVE_REALLOCARRAY = 0 || test $REPLACE_REALLOCARRAY = 1]
-stdckdint [test $HAVE_REALLOCARRAY = 0 || test $REPLACE_REALLOCARRAY = 1]
+stdckdint-h [test $HAVE_REALLOCARRAY = 0 || test $REPLACE_REALLOCARRAY = 1]
stdlib
configure.ac:
mbsinit [test $ac_use_included_regex = yes]
nl_langinfo [test $ac_use_included_regex = yes]
stdbool-h [test $ac_use_included_regex = yes]
-stdckdint [test $ac_use_included_regex = yes]
+stdckdint-h [test $ac_use_included_regex = yes]
stdint [test $ac_use_included_regex = yes]
verify [test $ac_use_included_regex = yes]
wchar [test $ac_use_included_regex = yes]
ssize_t
stdbool-h
stddef
-stdckdint
+stdckdint-h
stdint
stdlib
string
errno-h
extensions
extern-inline
-stdckdint
+stdckdint-h
configure.ac:
gl_STAT_TIME
Depends-on:
nanosleep
-stdckdint
+stdckdint-h
time-h
unistd
xconcat-filename
Description:
An <stdckdint.h> that is like C23.
+Status:
+deprecated
+
+Notice:
+This module is deprecated. Use the module 'stdckdint-h' instead.
+
Files:
-lib/stdckdint.in.h
-lib/intprops-internal.h
Depends-on:
-gen-header
-stdbool-h
+stdckdint-h
configure.ac:
-AC_CHECK_HEADERS_ONCE([stdckdint.h])
-if test $ac_cv_header_stdckdint_h = yes; then
- GL_GENERATE_STDCKDINT_H=false
-else
- GL_GENERATE_STDCKDINT_H=true
-fi
-gl_CONDITIONAL_HEADER([stdckdint.h])
-AC_PROG_MKDIR_P
Makefile.am:
-BUILT_SOURCES += $(STDCKDINT_H)
-
-# We need the following in order to create <stdckdint.h> when the system
-# doesn't have one that works with the given compiler.
-if GL_GENERATE_STDCKDINT_H
-stdckdint.h: stdckdint.in.h $(top_builddir)/config.status
-@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
- $(gl_V_at)$(SED_HEADER_STDOUT) \
- $(srcdir)/stdckdint.in.h > $@-t
- $(AM_V_at)mv $@-t $@
-else
-stdckdint.h: $(top_builddir)/config.status
- rm -f $@
-endif
-MOSTLYCLEANFILES += stdckdint.h stdckdint.h-t
Include:
<stdckdint.h>
LGPLv2+
Maintainer:
-Paul Eggert
+++ /dev/null
-Files:
-tests/test-stdckdint-c++.cc
-
-Status:
-c++-test
-
-Depends-on:
-ansi-c++-opt
-
-configure.ac:
-
-Makefile.am:
-if ANSICXX
-TESTS += test-stdckdint-c++
-check_PROGRAMS += test-stdckdint-c++
-test_stdckdint_c___SOURCES = test-stdckdint-c++.cc
-endif
--- /dev/null
+Description:
+An <stdckdint.h> that is like C23.
+
+Files:
+lib/stdckdint.in.h
+lib/intprops-internal.h
+
+Depends-on:
+gen-header
+stdbool-h
+
+configure.ac:
+AC_CHECK_HEADERS_ONCE([stdckdint.h])
+if test $ac_cv_header_stdckdint_h = yes; then
+ GL_GENERATE_STDCKDINT_H=false
+else
+ GL_GENERATE_STDCKDINT_H=true
+fi
+gl_CONDITIONAL_HEADER([stdckdint.h])
+AC_PROG_MKDIR_P
+
+Makefile.am:
+BUILT_SOURCES += $(STDCKDINT_H)
+
+# We need the following in order to create <stdckdint.h> when the system
+# doesn't have one that works with the given compiler.
+if GL_GENERATE_STDCKDINT_H
+stdckdint.h: stdckdint.in.h $(top_builddir)/config.status
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
+ $(srcdir)/stdckdint.in.h > $@-t
+ $(AM_V_at)mv $@-t $@
+else
+stdckdint.h: $(top_builddir)/config.status
+ rm -f $@
+endif
+MOSTLYCLEANFILES += stdckdint.h stdckdint.h-t
+
+Include:
+<stdckdint.h>
+
+License:
+LGPLv2+
+
+Maintainer:
+Paul Eggert
--- /dev/null
+Files:
+tests/test-stdckdint-h-c++.cc
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-stdckdint-h-c++
+check_PROGRAMS += test-stdckdint-h-c++
+test_stdckdint_h_c___SOURCES = test-stdckdint-h-c++.cc
+endif
Files:
tests/macros.h
tests/test-intprops.c
-tests/test-stdckdint.c
+tests/test-stdckdint-h.c
Depends-on:
assert-h
inttypes-h
stdbool-h
-stdckdint-c++-tests
+stdckdint-h-c++-tests
configure.ac:
Makefile.am:
-TESTS += test-stdckdint
-check_PROGRAMS += test-stdckdint
+TESTS += test-stdckdint-h
+check_PROGRAMS += test-stdckdint-h
c99
intprops
stdbool-h
-stdckdint
+stdckdint-h
timespec
configure.ac:
c99
intprops
stdbool-h
-stdckdint
+stdckdint-h
timespec
configure.ac:
gettext-h
ignore-value
nanosleep
-stdckdint
+stdckdint-h
symlink
timespec
utimecmp
gettext-h
ignore-value
nanosleep
-stdckdint
+stdckdint-h
symlink
timespec
utimecmp
Depends-on:
ignore-value
nanosleep
-stdckdint
+stdckdint-h
timespec
utimecmp
xconcat-filename
minmax
realloc-posix
reallocarray
-stdckdint
+stdckdint-h
stdint
xalloc-die
Depends-on:
intprops
-stdckdint
+stdckdint-h
stdint
configure.ac: