* modules/stdbool-h: Renamed from modules/stdbool.
* modules/stdbool-h-tests: Renamed from modules/stdbool-tests.
* modules/stdbool-h-c++-tests: Renamed from modules/stdbool-c++-tests.
* tests/test-stdbool-h.c: Renamed from tests/test-stdbool.c.
* tests/test-stdbool-h-c++.cc: Renamed from tests/test-stdbool-c++.cc.
* tests/test-stdbool-h-c++2.cc: Renamed from tests/test-stdbool-c++2.cc.
* tests/test-stdbool-h-c99.c: Update.
* tests/test-stdbool-h-c99-c++.cc: Update.
* doc/posix-headers/stdbool.texi: Update.
* doc/gnulib-readme.texi: Update.
* doc/gnulib.texi: Update.
* modules/* (Depends-on): Update.
* modules/stdbool: New file.
+2024-12-27 Bruno Haible <bruno@clisp.org>
+
+ Rename module stdbool to stdbool-h.
+ * modules/stdbool-h: Renamed from modules/stdbool.
+ * modules/stdbool-h-tests: Renamed from modules/stdbool-tests.
+ * modules/stdbool-h-c++-tests: Renamed from modules/stdbool-c++-tests.
+ * tests/test-stdbool-h.c: Renamed from tests/test-stdbool.c.
+ * tests/test-stdbool-h-c++.cc: Renamed from tests/test-stdbool-c++.cc.
+ * tests/test-stdbool-h-c++2.cc: Renamed from tests/test-stdbool-c++2.cc.
+ * tests/test-stdbool-h-c99.c: Update.
+ * tests/test-stdbool-h-c99-c++.cc: Update.
+ * doc/posix-headers/stdbool.texi: Update.
+ * doc/gnulib-readme.texi: Update.
+ * doc/gnulib.texi: Update.
+ * modules/* (Depends-on): Update.
+ * modules/stdbool: New file.
+
2024-12-27 Bruno Haible <bruno@clisp.org>
Rename module stdbool-c99 to stdbool-h-c99.
@item
@code{<stdbool.h>},
-@mindex stdbool
+@mindex stdbool-h
although Gnulib code no longer uses
it directly, preferring plain @code{bool} via the
-@code{stdbool} module instead.
+@code{stdbool-h} module instead.
@xref{stdbool.h}.
@item
@node bool
@section @code{bool}
-Gnulib module: stdbool
-@mindex stdbool
+Gnulib module: stdbool-h
+@mindex stdbool-h
Portability problems fixed by Gnulib:
@itemize
Gnulib module: stdbool-h-c99
@mindex stdbool-h-c99
-@mindex stdbool
+@mindex stdbool-h
The @code{stdbool-h-c99} module is present only for programs that
formerly used the old @code{stdbool} module for C99 compatibility,
-and that for some reason cannot use the current @code{stdbool} module
+and that for some reason cannot use the current @code{stdbool-h} module
for C23 compatibility.
Portability problems fixed by Gnulib:
fstat
minmax
stat
-stdbool
+stdbool-h
sys_stat
configure.ac:
Depends-on:
ignore-value
-stdbool
+stdbool-h
symlink
configure.ac:
Depends-on:
ignore-value
-stdbool
+stdbool-h
symlink
configure.ac:
Depends-on:
ignore-value
-stdbool
+stdbool-h
symlink
configure.ac:
Depends-on:
ignore-value
-stdbool
+stdbool-h
configure.ac:
memcmp
quote
quotearg
-stdbool
+stdbool-h
stdlib
configure.ac:
extensions
vsnprintf
sleep
-stdbool
+stdbool-h
stdio
strerror
memchr
Depends-on:
getdelim
snippet/arg-nonnull
-stdbool
+stdbool-h
configure.ac:
Depends-on:
signal-h
-stdbool
+stdbool-h
sigprocmask
windows-spin
sparcv8+
opendirat
readdir
renameatu
-stdbool
+stdbool-h
stdckdint
stdint
xalloc-oversized
opendirat
readdir
renameatu
-stdbool
+stdbool-h
stdckdint
stdint
xalloc-die
Depends-on:
extern-inline
ialloc
-stdbool
+stdbool-h
memchr
stdckdint
Depends-on:
extern-inline
ialloc
-stdbool
+stdbool-h
memchr
stdckdint
Depends-on:
double-slash-root
filename
-stdbool
+stdbool-h
configure.ac:
lib/bcp47.c
Depends-on:
-stdbool
+stdbool-h
c-ctype
configure.ac:
gnulib-i18n
integer_length_l
obstack
-stdbool
+stdbool-h
xalloc
configure.ac:
idx
stat-time
gettimeofday
-stdbool
+stdbool-h
time-h
unlocked-io-internal
Depends-on:
gen-header
extern-inline [$GL_GENERATE_BYTESWAP_H]
-stdbool [$GL_GENERATE_BYTESWAP_H]
+stdbool-h [$GL_GENERATE_BYTESWAP_H]
stdint [$GL_GENERATE_BYTESWAP_H]
configure.ac:
Depends-on:
extern-inline
-stdbool
+stdbool-h
configure.ac:
intprops
libc-config
locale-h
-stdbool
+stdbool-h
stdckdint
time_rz
Depends-on:
c-ctype
c-strcase
-stdbool
+stdbool-h
memchr
memcmp
readlink
glibc-internal/scratch_buffer
stat
-stdbool
+stdbool-h
sys_stat
unistd
xalloc-die
readlink [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]
glibc-internal/scratch_buffer [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]
stat [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]
-stdbool [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]
+stdbool-h [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]
sys_stat [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]
unistd [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]
float-h
isnand-nolibm
nan
-stdbool
+stdbool-h
stdint
configure.ac:
float-h
isnanf-nolibm
nan
-stdbool
+stdbool-h
stdint
configure.ac:
memchr [test $gl_cv_have_unlimited_file_name_length = no]
mempcpy [test $gl_cv_have_unlimited_file_name_length = no]
memrchr [test $gl_cv_have_unlimited_file_name_length = no]
-stdbool [test $gl_cv_have_unlimited_file_name_length = no]
+stdbool-h [test $gl_cv_have_unlimited_file_name_length = no]
stdlib [test $gl_cv_have_unlimited_file_name_length = no]
configure.ac:
fstat [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1]
open [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1]
stat [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1]
-stdbool [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1]
+stdbool-h [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1]
sys_stat [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1]
configure.ac:
mgetgroups
nanosleep
stat-time
-stdbool
+stdbool-h
stdckdint
symlink
xconcat-filename
lib/classpath.c
Depends-on:
-stdbool
+stdbool-h
xsetenv
xalloc
Depends-on:
c99
-stdbool
+stdbool-h
clean-temp-simple
list
asyncsafe-spin
Depends-on:
c99
-stdbool
+stdbool-h
list
asyncsafe-spin
unistd
Depends-on:
dup2
fcntl
-stdbool
+stdbool-h
configure.ac:
gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
Depends-on:
fpending
-stdbool
+stdbool-h
configure.ac:
gl_MODULE_INDICATOR([close-stream])
fflush
gettext-h
gnulib-i18n
-stdbool
+stdbool-h
unistd
configure.ac:
error
quotearg
exitfail
-stdbool
+stdbool-h
unistd
configure.ac:
lock
errno-h
extern-inline
-stdbool
+stdbool-h
time-h
windows-cond [test $gl_threads_api = windows]
Depends-on:
stdint
-stdbool
+stdbool-h
memcmp
configure.ac:
lib/csharpcomp.c
Depends-on:
-stdbool
+stdbool-h
error
xconcat-filename
cygpath
lib/classpath.c
Depends-on:
-stdbool
+stdbool-h
stat
error
dirname
assure
dev-ino
same-inode
-stdbool
+stdbool-h
stdint
configure.ac:
mbrtoc32-regular
mbszero
regex
-stdbool
+stdbool-h
stddef
stdint
stdio
Depends-on:
c99
-stdbool
+stdbool-h
configure.ac:
double-slash-root
filename
malloc-posix
-stdbool
+stdbool-h
configure.ac:
tests/macros.h
Depends-on:
-stdbool
+stdbool-h
stdint
get-rusage-as
mbuiter [test "$GNULIB_MCEL_PREFER" != yes]
nullptr
regex
-stdbool
+stdbool-h
unlocked-io-internal
xalloc
posix_spawnattr_setsigmask
posix_spawnattr_setflags
posix_spawnattr_destroy
-stdbool
+stdbool-h
stdlib
sys_wait
unistd
mkdir
msvc-inval
read-file
-stdbool
+stdbool-h
stdint
unistd
unistd
extensions
free-posix [test $HAVE_EXECVPE = 0 || test $REPLACE_EXECVPE = 1]
-stdbool [test $HAVE_EXECVPE = 0 || test $REPLACE_EXECVPE = 1]
+stdbool-h [test $HAVE_EXECVPE = 0 || test $REPLACE_EXECVPE = 1]
findprog-in [test $HAVE_EXECVPE = 0 || test $REPLACE_EXECVPE = 1]
execve [test $HAVE_EXECVPE = 0 || test $REPLACE_EXECVPE = 1]
Depends-on:
c99
-stdbool
+stdbool-h
unistd
sigaction
lock
open [test $HAVE_FCHDIR = 0 || test $REPLACE_FCHDIR = 1]
realloc-posix [test $HAVE_FCHDIR = 0 || test $REPLACE_FCHDIR = 1]
stat [test $HAVE_FCHDIR = 0 || test $REPLACE_FCHDIR = 1]
-stdbool [test $HAVE_FCHDIR = 0 || test $REPLACE_FCHDIR = 1]
+stdbool-h [test $HAVE_FCHDIR = 0 || test $REPLACE_FCHDIR = 1]
strdup-posix [test $HAVE_FCHDIR = 0 || test $REPLACE_FCHDIR = 1]
sys_stat [test $HAVE_FCHDIR = 0 || test $REPLACE_FCHDIR = 1]
tests/macros.h
Depends-on:
-stdbool
+stdbool-h
fcntl
symlink
close
getdtablesize
msvc-nothrow
-stdbool
+stdbool-h
configure.ac:
malloc-posix
ssize_t
stat
-stdbool
+stdbool-h
stdckdint
configure.ac:
Depends-on:
hash
hash-triple-simple
-stdbool
+stdbool-h
xalloc
xalloc-die
Depends-on:
idx
-stdbool
+stdbool-h
configure.ac:
assert-h
c-ctype
idx
-stdbool
+stdbool-h
configure.ac:
m4/eaccess.m4
Depends-on:
-stdbool
+stdbool-h
sys_stat
xalloc
xconcat-filename
m4/eaccess.m4
Depends-on:
-stdbool
+stdbool-h
sys_stat
filename
concat-filename
m4/eaccess.m4
Depends-on:
-stdbool
+stdbool-h
sys_stat
strdup
concat-filename
float-h
isnand-nolibm
nan
-stdbool
+stdbool-h
stdint
configure.ac:
float-h
isnanf-nolibm
nan
-stdbool
+stdbool-h
stdint
configure.ac:
Depends-on:
math-h
float-h [test $HAVE_FMA = 0 || test $REPLACE_FMA = 1]
-stdbool [test $HAVE_FMA = 0 || test $REPLACE_FMA = 1]
+stdbool-h [test $HAVE_FMA = 0 || test $REPLACE_FMA = 1]
assert-h [test $HAVE_FMA = 0 || test $REPLACE_FMA = 1]
isfinite [test $HAVE_FMA = 0 || test $REPLACE_FMA = 1]
integer_length [test $HAVE_FMA = 0 || test $REPLACE_FMA = 1]
math-h
extensions
float-h [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1]
-stdbool [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1]
+stdbool-h [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1]
assert-h [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1]
isfinite [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1]
integer_length [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1]
extensions
fma [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
float-h [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
-stdbool [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
+stdbool-h [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
assert-h [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
isfinite [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
integer_length [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
idx [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
isblank [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
libc-config [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
-stdbool [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]
strnlen [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
uchar [test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1]
stdio
largefile
fcntl-h [test $REPLACE_FOPEN = 1]
-stdbool [test $REPLACE_FOPEN = 1]
+stdbool-h [test $REPLACE_FOPEN = 1]
unistd [test $REPLACE_FOPEN = 1]
close [test $REPLACE_FOPEN = 1]
fstat [test $REPLACE_FOPEN = 1]
fopen
open [test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1]
fcntl-h [test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1]
-stdbool [test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1]
+stdbool-h [test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1]
unistd [test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1]
close [test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1]
fstat [test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1]
tests/macros.h
Depends-on:
-stdbool
+stdbool-h
stdint
get-rusage-as
m4/freadable.m4
Depends-on:
-stdbool
+stdbool-h
configure.ac:
gl_FUNC_FREADABLE
m4/freading.m4
Depends-on:
-stdbool
+stdbool-h
configure.ac:
gl_FUNC_FREADING
dup2
freopen
open
-stdbool
+stdbool-h
configure.ac:
gl_MODULE_INDICATOR([freopen-safer])
tests/macros.h
Depends-on:
-stdbool
+stdbool-h
configure.ac:
Depends-on:
c99
largefile
-stdbool
+stdbool-h
stdint
configure.ac:
opendirat
readdir
realloc-posix
-stdbool
+stdbool-h
stddef
stdint
m4/fwritable.m4
Depends-on:
-stdbool
+stdbool-h
configure.ac:
gl_FUNC_FWRITABLE
Depends-on:
errno-h
-stdbool
+stdbool-h
configure.ac:
gl_MODULE_INDICATOR([fwriteerror])
m4/fwriting.m4
Depends-on:
-stdbool
+stdbool-h
configure.ac:
gl_FUNC_FWRITING
Depends-on:
memcmp
-stdbool
+stdbool-h
strdup
strstr-simple
tests/macros.h
Depends-on:
-stdbool
+stdbool-h
configure.ac:
m4/musl.m4
Depends-on:
-stdbool
+stdbool-h
configure.ac:
gl_MUSL_LIBC
gnulib-i18n [test $HAVE_GETADDRINFO = 0 || test $REPLACE_GETADDRINFO = 1 || test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1]
inet_ntop [test $HAVE_GETADDRINFO = 0 || test $REPLACE_GETADDRINFO = 1]
snprintf [test $HAVE_GETADDRINFO = 0 || test $REPLACE_GETADDRINFO = 1]
-stdbool [test $HAVE_GETADDRINFO = 0 || test $REPLACE_GETADDRINFO = 1]
+stdbool-h [test $HAVE_GETADDRINFO = 0 || test $REPLACE_GETADDRINFO = 1]
strdup [test $HAVE_GETADDRINFO = 0 || test $REPLACE_GETADDRINFO = 1]
servent [test $HAVE_GETADDRINFO = 0 || test $REPLACE_GETADDRINFO = 1]
hostent [test $HAVE_GETADDRINFO = 0 || test $REPLACE_GETADDRINFO = 1]
readdir [test $REPLACE_GETCWD = 1]
rewinddir [test $REPLACE_GETCWD = 1]
closedir [test $REPLACE_GETCWD = 1]
-stdbool [test $REPLACE_GETCWD = 1]
+stdbool-h [test $REPLACE_GETCWD = 1]
malloc-posix [test $REPLACE_GETCWD = 1]
strdup-posix [test $REPLACE_GETCWD = 1]
fcntl-h
getcwd-lgpl
pathmax
-stdbool
+stdbool-h
sys_stat
test-framework-sh
extensions
intprops [test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1]
open [case $host_os in mingw* | windows*) false;; *) test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1;; esac]
-stdbool [test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1]
+stdbool-h [test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1]
stdlib [test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1]
configure.ac:
tests/macros.h
Depends-on:
-stdbool
+stdbool-h
configure.ac:
tests/macros.h
Depends-on:
-stdbool
+stdbool-h
configure.ac:
Depends-on:
limits-h
ssize_t
-stdbool
+stdbool-h
stdint
freadptr
freadseek
Depends-on:
dup2
setenv
-stdbool
+stdbool-h
unistd
unsetenv
Depends-on:
dup2
setenv
-stdbool
+stdbool-h
unistd
unsetenv
fopen-gnu
fseeko
getline
-stdbool
+stdbool-h
strdup-posix
configure.ac:
sys_random
fcntl-h [test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1]
minmax [test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1]
-stdbool [test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1]
+stdbool-h [test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1]
open [case $host_os in mingw* | windows*) false;; *) test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1;; esac]
configure.ac:
c99
getopt-gnu
idx
-stdbool
+stdbool-h
stdint
stdlib
error
builtin-expect
gen-header
libc-config
-stdbool
+stdbool-h
stdckdint
stddef
builtin-expect
gen-header
libc-config
-stdbool
+stdbool-h
stddef
malloc-posix
realloc-posix
opendir [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
readdir [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
glibc-internal/scratch_buffer [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
-stdbool [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]
stdint [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
strdup [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
extern-inline
flexmember
inttypes-h-incomplete
-stdbool
+stdbool-h
stdint
verify
xalloc
lib/hard-locale.c
Depends-on:
-stdbool
+stdbool-h
setlocale-null
configure.ac:
calloc-posix
free-posix
malloc-posix
-stdbool
+stdbool-h
stdint
xalloc-oversized
Depends-on:
hash-pjw
inttostr
-stdbool
+stdbool-h
configure.ac:
Depends-on:
hash-pjw
same-inode
-stdbool
+stdbool-h
configure.ac:
localeconv
memmove
xstrtoumax
-stdbool
+stdbool-h
stdint
configure.ac:
Depends-on:
assert-h
-stdbool
+stdbool-h
configure.ac:
gl_I_RING
tests/macros.h
Depends-on:
-stdbool
+stdbool-h
configure.ac:
tests/macros.h
Depends-on:
-stdbool
+stdbool-h
configure.ac:
tests/macros.h
Depends-on:
-stdbool
+stdbool-h
_Exit
configure.ac:
Depends-on:
assert-h
inttypes-h
-stdbool
+stdbool-h
configure.ac:
m4/isapipe.m4
Depends-on:
-stdbool [test $HAVE_ISAPIPE = 0]
+stdbool-h [test $HAVE_ISAPIPE = 0]
sys_stat [test $HAVE_ISAPIPE = 0]
unistd [test $HAVE_ISAPIPE = 0]
msvc-nothrow [test $HAVE_ISAPIPE = 0]
lib/javacomp.c
Depends-on:
-stdbool
+stdbool-h
unistd
javaversion
execute
lib/javaexec.c
Depends-on:
-stdbool
+stdbool-h
execute
classpath
xsetenv
Depends-on:
javaexec
-stdbool
+stdbool-h
spawn-pipe
wait-process
getline
readlink [test $HAVE_LCHOWN = 0]
chown [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]
errno-h [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]
-stdbool [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]
+stdbool-h [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]
sys_stat [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]
lstat [test $REPLACE_LCHOWN = 1]
nanosleep
stdckdint
stat-time
-stdbool
+stdbool-h
symlink
xconcat-filename
xgetcwd
Depends-on:
math-h
isnand [test $REPLACE_LDEXP = 1]
-stdbool [test $REPLACE_LDEXP = 1]
+stdbool-h [test $REPLACE_LDEXP = 1]
configure.ac:
gl_FUNC_LDEXP
ldexp [{ test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
isnanl [{ test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
fpucw [{ test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
-stdbool [{ test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
+stdbool-h [{ test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
configure.ac:
gl_FUNC_LDEXPL
Depends-on:
gen-header
libtextstyle
-stdbool
+stdbool-h
stdio
unistd
fsync
Depends-on:
ignore-value
errno-h
-stdbool
+stdbool-h
sys_stat
configure.ac:
Depends-on:
extern-inline
-stdbool
+stdbool-h
configure.ac:
localename-unsafe
flexmember
lock
-stdbool
+stdbool-h
thread-optim
configure.ac:
Depends-on:
localename-unsafe-limited
extensions
-stdbool
+stdbool-h
locale-h
flexmember
free-posix
c99
exitfail
getopt-gnu
-stdbool
+stdbool-h
stdlib
version-etc
ignore-value
errno-h
same-inode
-stdbool
+stdbool-h
symlink
configure.ac:
Depends-on:
extern-inline
-stdbool
+stdbool-h
configure.ac:
Depends-on:
extensions
extern-inline
-stdbool
+stdbool-h
uchar
c32isalnum
c32isalpha
mbsinit
mbszero
wchar
-stdbool
+stdbool-h
configure.ac:
gl_MBFILE
mbsinit
mbszero
uchar
-stdbool
+stdbool-h
configure.ac:
gl_MBITER
mbsinit
mbszero
uchar
-stdbool
+stdbool-h
configure.ac:
gl_MBITER
m4/codeset.m4
Depends-on:
-stdbool
+stdbool-h
setlocale
mbrtowc
wctype-h
lib/mbmemcasecoll.c
Depends-on:
-stdbool
+stdbool-h
wchar
uchar
malloca
m4/codeset.m4
Depends-on:
-stdbool
+stdbool-h
setlocale
mbrtowc
wctype-h
Depends-on:
alignasof
mbuiter
-stdbool
+stdbool-h
string
mbslen
malloca
Depends-on:
alignasof
mbuiter
-stdbool
+stdbool-h
string
mbslen
malloca
mbsinit
mbszero
uchar
-stdbool
+stdbool-h
strnlen1
configure.ac:
mbsinit
mbszero
uchar
-stdbool
+stdbool-h
strnlen1
configure.ac:
extern-inline
limits-h
mbrtoc32
-stdbool
+stdbool-h
uchar
verify
savewd
stat
stat-macros
-stdbool
+stdbool-h
sys_stat
configure.ac:
Depends-on:
ignore-value
-stdbool
+stdbool-h
symlink
configure.ac:
Depends-on:
ignore-value
-stdbool
+stdbool-h
symlink
configure.ac:
Depends-on:
ignore-value
-stdbool
+stdbool-h
symlink
configure.ac:
assert-h [test $REPLACE_MKTIME = 1]
intprops [test $REPLACE_MKTIME = 1]
libc-config [test $REPLACE_MKTIME = 1]
-stdbool [test $REPLACE_MKTIME = 1]
+stdbool-h [test $REPLACE_MKTIME = 1]
stdckdint [test $REPLACE_MKTIME = 1]
time_r [test $REPLACE_MKTIME = 1]
Depends-on:
stat
stat-macros
-stdbool
+stdbool-h
sys_stat
xalloc
getline
open
unlocked-io-internal
-stdbool
+stdbool-h
stdint
strstr-simple
xalloc
assert-h [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
intprops [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
pselect [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
-stdbool [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
+stdbool-h [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
sys_select [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]
configure.ac:
setlocale
thread
nanosleep
-stdbool
+stdbool-h
configure.ac:
gt_LOCALE_FR
fcntl-h
ioctl
msvc-nothrow
-stdbool
+stdbool-h
stdio
sys_socket
unistd
tests/macros.h
Depends-on:
-stdbool
+stdbool-h
unistd
nonblocking
wait-process
tests/macros.h
Depends-on:
-stdbool
+stdbool-h
unistd
sys_socket
nonblocking
intprops
libc-config
localename-unsafe-limited
-stdbool
+stdbool-h
stdckdint
time_rz
Depends-on:
extern-inline
-stdbool
+stdbool-h
configure.ac:
tests/macros.h
Depends-on:
-stdbool
+stdbool-h
fcntl
symlink
extensions
largefile
openat-h [test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1]
-stdbool [test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1]
+stdbool-h [test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1]
sys_stat [test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1]
cloexec [test $REPLACE_OPENAT = 1]
fstat [test $REPLACE_OPENAT = 1]
Depends-on:
extern-inline
fcntl-h
-stdbool
+stdbool-h
sys_stat
unistd
Depends-on:
extern-inline
-stdbool
+stdbool-h
configure.ac:
bison
c99
c-ctype
-stdbool
+stdbool-h
gettime
gettext-h
gnulib-i18n
free-posix
gettext-h
gnulib-i18n
-stdbool
+stdbool-h
stdint
stdlib
sys_select
fcntl-h
gettext-h
gnulib-i18n
-stdbool
+stdbool-h
stdint
stdlib
sys_select
tests/macros.h
Depends-on:
-stdbool
+stdbool-h
binary-io
msvc-nothrow
tests/macros.h
Depends-on:
-stdbool
+stdbool-h
msvc-nothrow
configure.ac:
tests/macros.h
Depends-on:
-stdbool
+stdbool-h
sys_socket
netinet_in-h
arpa_inet-h
findprog-in [test $HAVE_POSIX_SPAWN = 0]
free-posix [test $HAVE_POSIX_SPAWN = 0]
malloca [test $HAVE_POSIX_SPAWN = 0]
-stdbool [test $HAVE_POSIX_SPAWN = 0]
+stdbool-h [test $HAVE_POSIX_SPAWN = 0]
windows-spawn [test $HAVE_POSIX_SPAWN = 0]
configure.ac:
posix_spawn_file_actions_init
posix_spawn_file_actions_addopen
posix_spawn_file_actions_destroy
-stdbool
+stdbool-h
unistd
sys_wait
environ
posix_spawn_file_actions_init
posix_spawn_file_actions_destroy
posix_spawnp-tests
-stdbool
+stdbool-h
findprog
xvasprintf
posix_spawnattr_setsigmask
posix_spawnattr_setflags
posix_spawnattr_destroy
-stdbool
+stdbool-h
unistd
sys_wait
dup
c-ctype
idx
mktime
-stdbool
+stdbool-h
stdckdint
time
verify
Depends-on:
errno-h
extern-inline
-stdbool
+stdbool-h
configure.ac:
gl_PRIV_SET
Depends-on:
c32isalnum
-stdbool
+stdbool-h
trim
mbsstr
mbchar
tests/signature.h
Depends-on:
-stdbool
+stdbool-h
netinet_in-h
arpa_inet-h
unistd
extensions
pthread-thread
nanosleep
-stdbool
+stdbool-h
configure.ac:
Depends-on:
pthread-h
-stdbool [test $HAVE_PTHREAD_SPIN_INIT = 0 || test $REPLACE_PTHREAD_SPIN_INIT = 1]
+stdbool-h [test $HAVE_PTHREAD_SPIN_INIT = 0 || test $REPLACE_PTHREAD_SPIN_INIT = 1]
windows-spin [test $gl_threads_api = windows]
configure.ac:
minmax
quotearg-simple
localcharset
-stdbool
+stdbool-h
stdint
uchar
xalloc
Depends-on:
ignore-value
-stdbool
+stdbool-h
symlink
configure.ac:
Depends-on:
xalloc
-stdbool
+stdbool-h
configure.ac:
gl_READTOKENS
Depends-on:
obstack
-stdbool
+stdbool-h
configure.ac:
idx
stat-time
gettimeofday
-stdbool
+stdbool-h
stdint
strnlen
time-h
mbrtowc [test $ac_use_included_regex = yes]
mbsinit [test $ac_use_included_regex = yes]
nl_langinfo [test $ac_use_included_regex = yes]
-stdbool [test $ac_use_included_regex = yes]
+stdbool-h [test $ac_use_included_regex = yes]
stdckdint [test $ac_use_included_regex = yes]
stdint [test $ac_use_included_regex = yes]
verify [test $ac_use_included_regex = yes]
lib/regex-quote.c
Depends-on:
-stdbool
+stdbool-h
xalloc
mbuiter
mempcpy
xalloc
xreadlink
open
-stdbool
+stdbool-h
unistd
memcmp
strdup
limits-h
pathmax
ssize_t
-stdbool
+stdbool-h
stddef
stdckdint
stdint
rmdir [test $REPLACE_RENAME = 1]
same-inode [test $REPLACE_RENAME = 1]
stat [test $REPLACE_RENAME = 1]
-stdbool [test $REPLACE_RENAME = 1]
+stdbool-h [test $REPLACE_RENAME = 1]
strdup [test $REPLACE_RENAME = 1]
configure.ac:
ignore-value
errno-h
link
-stdbool
+stdbool-h
symlink
sys_stat
opendir
openat-h [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1]
fstatat [test $REPLACE_RENAMEAT = 1]
readlinkat [test $REPLACE_RENAMEAT = 1]
-stdbool [test $REPLACE_RENAMEAT = 1]
+stdbool-h [test $REPLACE_RENAMEAT = 1]
at-internal [test $HAVE_RENAMEAT = 0]
filename [test $HAVE_RENAMEAT = 0]
fstat [test $HAVE_RENAMEAT = 0]
Depends-on:
ignore-value
-stdbool
+stdbool-h
symlink
configure.ac:
assert-h
isnand-nolibm
nan
-stdbool
+stdbool-h
stdint
configure.ac:
floorf
isnanf-nolibm
nan
-stdbool
+stdbool-h
stdint
configure.ac:
Depends-on:
stdlib
extensions
-stdbool [test $HAVE_RPMATCH = 0]
+stdbool-h [test $HAVE_RPMATCH = 0]
gettext-h [test $HAVE_RPMATCH = 0]
gnulib-i18n [test $HAVE_RPMATCH = 0]
regex [test $HAVE_RPMATCH = 0]
fstatat
openat
same-inode
-stdbool
+stdbool-h
memcmp
configure.ac:
Depends-on:
extern-inline
-stdbool
+stdbool-h
sys_types
configure.ac:
fchdir
getcwd-lgpl
open
-stdbool
+stdbool-h
configure.ac:
gl_SAVE_CWD
fcntl-h
filename
raise
-stdbool
+stdbool-h
stdlib
sys_wait
unistd
tests/test-select-stdin.c
Depends-on:
-stdbool
+stdbool-h
sys_socket
netinet_in-h
arpa_inet-h
Depends-on:
extern-inline
-stdbool
+stdbool-h
configure.ac:
posix_spawnattr_setsigmask
posix_spawnattr_setflags
posix_spawnattr_destroy
-stdbool
+stdbool-h
stdlib
unistd
unistd-safer
Depends-on:
close
msvc-inval
-stdbool
+stdbool-h
stdint
configure.ac:
Depends-on:
assure
-stdbool
+stdbool-h
stdlib
xalloc
malloca [test $REPLACE_STAT = 1]
pathmax [test $REPLACE_STAT = 1]
stat-time [test $REPLACE_STAT = 1]
-stdbool [test $REPLACE_STAT = 1]
+stdbool-h [test $REPLACE_STAT = 1]
configure.ac:
gl_FUNC_STAT
Depends-on:
getcwd-lgpl
same-inode
-stdbool
+stdbool-h
symlink
configure.ac:
Depends-on:
gen-header
extern-inline [$GL_GENERATE_STDBIT_H]
-stdbool [$GL_GENERATE_STDBIT_H]
+stdbool-h [$GL_GENERATE_STDBIT_H]
configure.ac:
gl_STDBIT_H
Description:
A bool that is like C23.
+Status:
+deprecated
+
+Notice:
+This module is deprecated. Use the module 'stdbool-h' instead.
+
Files:
-m4/c-bool.m4
Depends-on:
-c99
+stdbool-h
configure.ac:
-gl_C_BOOL
Makefile.am:
LGPLv2+
Maintainer:
-all
+++ /dev/null
-Files:
-tests/test-stdbool-c++.cc
-tests/test-stdbool-c++2.cc
-
-Status:
-c++-test
-
-Depends-on:
-ansi-c++-opt
-
-configure.ac:
-
-Makefile.am:
-if ANSICXX
-TESTS += test-stdbool-c++
-check_PROGRAMS += test-stdbool-c++
-test_stdbool_c___SOURCES = test-stdbool-c++.cc test-stdbool-c++2.cc
-endif
--- /dev/null
+Description:
+A bool that is like C23.
+
+Files:
+m4/c-bool.m4
+
+Depends-on:
+c99
+
+configure.ac:
+gl_C_BOOL
+
+Makefile.am:
+
+Include:
+
+License:
+LGPLv2+
+
+Maintainer:
+all
--- /dev/null
+Files:
+tests/test-stdbool-h-c++.cc
+tests/test-stdbool-h-c++2.cc
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-stdbool-h-c++
+check_PROGRAMS += test-stdbool-h-c++
+test_stdbool_h_c___SOURCES = test-stdbool-h-c++.cc test-stdbool-h-c++2.cc
+endif
Files:
tests/test-stdbool-h-c99-c++.cc
-tests/test-stdbool-c++.cc
-tests/test-stdbool-c++2.cc
+tests/test-stdbool-h-c++.cc
+tests/test-stdbool-h-c++2.cc
Status:
c++-test
Files:
tests/test-stdbool-h-c99.c
-tests/test-stdbool.c
+tests/test-stdbool-h.c
Depends-on:
stdbool-h-c99-c++-tests
--- /dev/null
+Files:
+tests/test-stdbool-h.c
+
+Depends-on:
+stdbool-h-c++-tests
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-stdbool-h
+check_PROGRAMS += test-stdbool-h
+++ /dev/null
-Files:
-tests/test-stdbool.c
-
-Depends-on:
-stdbool-c++-tests
-
-configure.ac:
-
-Makefile.am:
-TESTS += test-stdbool
-check_PROGRAMS += test-stdbool
Depends-on:
libc-config
-stdbool
+stdbool-h
stdint
assert-h
Depends-on:
libc-config
-stdbool
+stdbool-h
stdint
assert-h
Depends-on:
libc-config
-stdbool
+stdbool-h
stdint
assert-h
Depends-on:
libc-config
-stdbool
+stdbool-h
stdint
assert-h
Depends-on:
libc-config
-stdbool
+stdbool-h
stdint
assert-h
Depends-on:
libc-config
-stdbool
+stdbool-h
stdint
assert-h
Depends-on:
libc-config
-stdbool
+stdbool-h
stdint
assert-h
Depends-on:
libc-config
-stdbool
+stdbool-h
stdint
assert-h
Depends-on:
libc-config
-stdbool
+stdbool-h
stdint
assert-h
Depends-on:
libc-config
-stdbool
+stdbool-h
stdint
assert-h
Depends-on:
libc-config
-stdbool
+stdbool-h
stdint
assert-h
Depends-on:
libc-config
-stdbool
+stdbool-h
stdint
assert-h
Depends-on:
libc-config
-stdbool
+stdbool-h
stdint
assert-h
Depends-on:
libc-config
-stdbool
+stdbool-h
stdint
assert-h
Depends-on:
gen-header
-stdbool
+stdbool-h
configure.ac:
AC_CHECK_HEADERS_ONCE([stdckdint.h])
Depends-on:
assert-h
inttypes-h
-stdbool
+stdbool-h
stdckdint-c++-tests
configure.ac:
lib/strcasestr.c
Depends-on:
-stdbool
+stdbool-h
strcasestr-simple
configure.ac:
Depends-on:
string
-stdbool
+stdbool-h
strcase
memchr
memcmp
Depends-on:
monetary-h
extensions
-stdbool [test $REPLACE_STRFMON_L = 1]
+stdbool-h [test $REPLACE_STRFMON_L = 1]
configure.ac:
gl_FUNC_STRFMON_L
lib/iconveh.h
Depends-on:
-stdbool
+stdbool-h
iconv
iconv_open
unistr/u8-prev
lib/striconveha.c
Depends-on:
-stdbool
+stdbool-h
striconveh
malloca
strdup
lib/string-buffer-printf.c
Depends-on:
-stdbool
+stdbool-h
attribute
string-desc
stdarg-h
lib/string-desc-contains.c
Depends-on:
-stdbool
+stdbool-h
idx
c-ctype
ialloc
sys_time [test $HAVE_STRPTIME = 0]
string [test $HAVE_STRPTIME = 0]
strcase [test $HAVE_STRPTIME = 0]
-stdbool [test $HAVE_STRPTIME = 0]
+stdbool-h [test $HAVE_STRPTIME = 0]
time_r [test $HAVE_STRPTIME = 0]
configure.ac:
Depends-on:
string
builtin-expect [test $REPLACE_STRSTR = 1]
-stdbool [test $REPLACE_STRSTR = 1]
+stdbool-h [test $REPLACE_STRSTR = 1]
memchr [test $REPLACE_STRSTR = 1]
memcmp [test $REPLACE_STRSTR = 1]
strtod-obsolete
c-ctype [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1]
math-h [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1]
-stdbool [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1]
+stdbool-h [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1]
configure.ac:
gl_FUNC_STRTOD
stdlib
c-ctype [test $HAVE_STRTOF = 0 || test $REPLACE_STRTOF = 1]
math-h [test $HAVE_STRTOF = 0 || test $REPLACE_STRTOF = 1]
-stdbool [test $HAVE_STRTOF = 0 || test $REPLACE_STRTOF = 1]
+stdbool-h [test $HAVE_STRTOF = 0 || test $REPLACE_STRTOF = 1]
configure.ac:
gl_FUNC_STRTOF
stdlib
c-ctype [test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1]
math-h [test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1]
-stdbool [test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1]
+stdbool-h [test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1]
strtod [{ test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
configure.ac:
Depends-on:
c99
fcntl-h
-stdbool
+stdbool-h
sys_stat
clean-temp
tempname
Depends-on:
ignore-value
-stdbool
+stdbool-h
configure.ac:
Depends-on:
sh-quote
-stdbool
+stdbool-h
xalloc
configure.ac:
tests/macros.h
Depends-on:
-stdbool
+stdbool-h
unistd
popen
pclose
libc-config
lstat
mkdir
-stdbool
+stdbool-h
stdint
sys_stat
time-h
m4/tcgetattr.m4
Depends-on:
-stdbool
+stdbool-h
fatal-signal
sigaction
sigprocmask
tests/test-term-style-control-yes.c
Depends-on:
-stdbool
+stdbool-h
unistd
full-write
flexmember [test $HAVE_TZALLOC = 0 || test $REPLACE_LOCALTIME_RZ = 1 || test $REPLACE_MKTIME_Z = 1]
idx [test $HAVE_TZALLOC = 0 || test $REPLACE_LOCALTIME_RZ = 1 || test $REPLACE_MKTIME_Z = 1]
setenv [test $HAVE_TZALLOC = 0 || test $REPLACE_LOCALTIME_RZ = 1 || test $REPLACE_MKTIME_Z = 1]
-stdbool [test $HAVE_TZALLOC = 0 || test $REPLACE_LOCALTIME_RZ = 1 || test $REPLACE_MKTIME_Z = 1]
+stdbool-h [test $HAVE_TZALLOC = 0 || test $REPLACE_LOCALTIME_RZ = 1 || test $REPLACE_MKTIME_Z = 1]
time_r [test $HAVE_TZALLOC = 0 || test $REPLACE_LOCALTIME_RZ = 1 || test $REPLACE_MKTIME_Z = 1]
timegm [test $HAVE_TZALLOC = 0 || test $REPLACE_LOCALTIME_RZ = 1 || test $REPLACE_MKTIME_Z = 1]
tzset [test $HAVE_TZALLOC = 0 || test $REPLACE_LOCALTIME_RZ = 1 || test $REPLACE_MKTIME_Z = 1]
Depends-on:
c99
intprops
-stdbool
+stdbool-h
stdckdint
timespec
Depends-on:
c99
intprops
-stdbool
+stdbool-h
stdckdint
timespec
Depends-on:
dtotimespec
intprops
-stdbool
+stdbool-h
timespec-add
timespec-sub
Depends-on:
secure_getenv
stat
-stdbool
+stdbool-h
sys_stat
pathmax
stdio
largefile
pathmax [test $REPLACE_TMPFILE = 1]
-stdbool [test $REPLACE_TMPFILE = 1]
+stdbool-h [test $REPLACE_TMPFILE = 1]
tempname [test $REPLACE_TMPFILE = 1]
tmpdir [test $REPLACE_TMPFILE = 1]
extensions
totalorder [{ test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
float-h [{ test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
-stdbool [{ test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
+stdbool-h [{ test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
isnanl [{ test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
signbit [{ test $HAVE_TOTALORDERL = 0 || test $REPLACE_TOTALORDERL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
extensions
totalordermag [{ test $HAVE_TOTALORDERMAGL = 0 || test $REPLACE_TOTALORDERMAGL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
float-h [{ test $HAVE_TOTALORDERMAGL = 0 || test $REPLACE_TOTALORDERMAGL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
-stdbool [{ test $HAVE_TOTALORDERMAGL = 0 || test $REPLACE_TOTALORDERMAGL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
+stdbool-h [{ test $HAVE_TOTALORDERMAGL = 0 || test $REPLACE_TOTALORDERMAGL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
stdint [{ test $HAVE_TOTALORDERMAGL = 0 || test $REPLACE_TOTALORDERMAGL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
verify [{ test $HAVE_TOTALORDERMAGL = 0 || test $REPLACE_TOTALORDERMAGL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
isnanl [{ test $HAVE_TOTALORDERMAGL = 0 || test $REPLACE_TOTALORDERMAGL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
float-h
isnand-nolibm
nan
-stdbool
+stdbool-h
stdint
configure.ac:
float-h
isnanf-nolibm
nan
-stdbool
+stdbool-h
stdint
configure.ac:
Depends-on:
byteswap
extern-inline
-stdbool
+stdbool-h
stdint
configure.ac:
gen-header
unitypes
uninorm/base
-stdbool
+stdbool-h
configure.ac:
gl_LIBUNISTRING_LIBHEADER([1.2], [unicase.h])
Depends-on:
unitypes
-stdbool
+stdbool-h
configure.ac:
AC_REQUIRE([AC_C_INLINE])
Depends-on:
unitypes
-stdbool
+stdbool-h
configure.ac:
AC_REQUIRE([AC_C_INLINE])
unistr/u16-uctomb
unistr/u16-cpy
uninorm/u16-normalize
-stdbool
+stdbool-h
configure.ac:
unistr/u16-uctomb
unistr/u16-cpy
uninorm/u16-normalize
-stdbool
+stdbool-h
configure.ac:
gl_LIBUNISTRING_MODULE([1.3], [unicase/u16-ct-totitle])
uninorm/u16-normalize
uninorm/nfd
unistr/u16-cmp
-stdbool
+stdbool-h
configure.ac:
unistr/u32-uctomb
unistr/u32-cpy
uninorm/u32-normalize
-stdbool
+stdbool-h
configure.ac:
unistr/u32-uctomb
unistr/u32-cpy
uninorm/u32-normalize
-stdbool
+stdbool-h
configure.ac:
gl_LIBUNISTRING_MODULE([1.3], [unicase/u32-ct-totitle])
uninorm/u32-normalize
uninorm/nfd
unistr/u32-cmp
-stdbool
+stdbool-h
configure.ac:
unistr/u8-uctomb
unistr/u8-cpy
uninorm/u8-normalize
-stdbool
+stdbool-h
configure.ac:
unistr/u8-uctomb
unistr/u8-cpy
uninorm/u8-normalize
-stdbool
+stdbool-h
configure.ac:
gl_LIBUNISTRING_MODULE([1.3], [unicase/u8-ct-totitle])
uninorm/u8-normalize
uninorm/nfd
unistr/u8-cmp
-stdbool
+stdbool-h
configure.ac:
Depends-on:
gen-header
-stdbool
+stdbool-h
unitypes
configure.ac:
Depends-on:
gen-header
unitypes
-stdbool
+stdbool-h
configure.ac:
gl_LIBUNISTRING_LIBHEADER([1.3], [unictype.h])
tests/macros.h
Depends-on:
-stdbool
+stdbool-h
unictype/category-test
configure.ac:
Depends-on:
gen-header
unitypes
-stdbool
+stdbool-h
configure.ac:
gl_LIBUNISTRING_LIBHEADER([1.2], [unigbrk.h])
unictype/incb-of
unictype/property-extended-pictographic
unistr/u16-mbtouc
-stdbool
+stdbool-h
configure.ac:
gl_MODULE_INDICATOR([unigbrk/u16-grapheme-breaks])
unictype/incb-of
unictype/property-extended-pictographic
unistr/u32-mbtouc
-stdbool
+stdbool-h
configure.ac:
gl_MODULE_INDICATOR([unigbrk/u32-grapheme-breaks])
unictype/incb-of
unictype/property-extended-pictographic
unistr/u8-mbtouc
-stdbool
+stdbool-h
configure.ac:
gl_MODULE_INDICATOR([unigbrk/u8-grapheme-breaks])
unigbrk/uc-gbrk-prop
unictype/incb-of
unictype/property-extended-pictographic
-stdbool
+stdbool-h
configure.ac:
gl_MODULE_INDICATOR([unigbrk/uc-grapheme-breaks])
Depends-on:
unictype/incb-of
unictype/property-extended-pictographic
-stdbool
+stdbool-h
configure.ac:
gen-header
unitypes
localcharset
-stdbool
+stdbool-h
configure.ac:
gl_LIBUNISTRING_LIBHEADER([0.9.11], [unilbrk.h])
uniname/base
attribute
memcmp
-stdbool
+stdbool-h
c99
configure.ac:
fd-safer-flag
getdtablesize
msvc-nothrow
-stdbool
+stdbool-h
configure.ac:
tests/macros.h
Depends-on:
-stdbool
+stdbool-h
stdint
physmem
unistr/u8-strlen
tests/macros.h
Depends-on:
-stdbool
+stdbool-h
stdint
physmem
Depends-on:
gen-header
unitypes
-stdbool
+stdbool-h
inline
configure.ac:
unistr/u16-chr
unistr/u16-strchr
unistr/u16-cmp
-stdbool
+stdbool-h
configure.ac:
gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u16-strstr])
unistr/u32-chr
unistr/u32-strchr
unistr/u32-cmp
-stdbool
+stdbool-h
configure.ac:
gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u32-strstr])
Depends-on:
ignore-value
-stdbool
+stdbool-h
symlink
unlinkdir
m4/unlinkdir.m4
Depends-on:
-stdbool
+stdbool-h
priv-set
root-uid
gnulib-i18n
intprops
inttostr
-stdbool
+stdbool-h
configure.ac:
gl_USERSPEC
filename [test $HAVE_UTIME = 0 || test $REPLACE_UTIME = 1]
malloca [test $HAVE_UTIME = 0 || test $REPLACE_UTIME = 1]
stat [test $HAVE_UTIME = 0 || test $REPLACE_UTIME = 1]
-stdbool [test $HAVE_UTIME = 0 || test $REPLACE_UTIME = 1]
+stdbool-h [test $HAVE_UTIME = 0 || test $REPLACE_UTIME = 1]
configure.ac:
gl_FUNC_UTIME
time-h
utimensat
intprops
-stdbool
+stdbool-h
stdint
assert-h
msvc-nothrow
stat
stat-time
-stdbool
+stdbool-h
sys_stat
sys_time
time-h
tests/macros.h
Depends-on:
-stdbool
+stdbool-h
stdint
physmem
tests/macros.h
Depends-on:
-stdbool
+stdbool-h
stdint
physmem
xalloc-die
gettext-h
gnulib-i18n
-stdbool
+stdbool-h
stdlib
sys_wait
unistd
lib/windows-initguard.h
Depends-on:
-stdbool
+stdbool-h
errno-h
time-h
gettimeofday
environ
findprog-in
msvc-nothrow
-stdbool
+stdbool-h
stdint
stdlib
strpbrk
Depends-on:
errno-h
-stdbool
+stdbool-h
time-h
gettimeofday
m4/write-any-file.m4
Depends-on:
-stdbool
+stdbool-h
priv-set
root-uid
extern-inline
gettext-h
gnulib-i18n
-stdbool
+stdbool-h
verify
configure.ac:
Depends-on:
list
extern-inline
-stdbool
+stdbool-h
xalloc-die
configure.ac:
Depends-on:
map
extern-inline
-stdbool
+stdbool-h
xalloc-die
configure.ac:
Depends-on:
omap
extern-inline
-stdbool
+stdbool-h
xalloc-die
configure.ac:
Depends-on:
oset
extern-inline
-stdbool
+stdbool-h
xalloc-die
configure.ac:
Depends-on:
set
extern-inline
-stdbool
+stdbool-h
xalloc-die
configure.ac:
m4/xstrtod.m4
Depends-on:
-stdbool
+stdbool-h
configure.ac:
gl_XSTRTOD
m4/xstrtod.m4
Depends-on:
-stdbool
+stdbool-h
configure.ac:
gl_XSTRTOLD
Depends-on:
getline
rpmatch
-stdbool
+stdbool-h
configure.ac:
gl_YESNO
+++ /dev/null
-/* Test of <stdbool.h> substitute in C++ mode.
- Copyright (C) 2019-2024 Free Software Foundation, Inc.
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>. */
-
-/* Written by Bruno Haible <bruno@clisp.org>, 2019. */
-
-#define GNULIB_NAMESPACE gnulib
-#include <config.h>
-
-#ifdef TEST_STDBOOL_H
-# include <stdbool.h>
-#endif
-
-
-/* These tests are a subset of the C language tests in test-stdbool.c. */
-
-#if false
- "error: false is not 0"
-#endif
-#if true != 1
- "error: true is not 1"
-#endif
-
-struct s { bool u: 1; bool v; } s;
-
-char a[true == 1 ? 1 : -1];
-char b[false == 0 ? 1 : -1];
-char c[(unsigned char) true == 1 ? 1 : -1];
-char d[(unsigned char) false == 0 ? 1 : -1];
-
-
-int
-main ()
-{
-}
+++ /dev/null
-/* Test of <stdbool.h> substitute in C++ mode.
- Copyright (C) 2019-2024 Free Software Foundation, Inc.
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>. */
-
-#define GNULIB_NAMESPACE gnulib
-#include <config.h>
-
-#if __cplusplus >= 201103 && __cplusplus < 202002
-
-# include <cstdbool>
-
-#endif
--- /dev/null
+/* Test of <stdbool.h> substitute in C++ mode.
+ Copyright (C) 2019-2024 Free Software Foundation, Inc.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>. */
+
+/* Written by Bruno Haible <bruno@clisp.org>, 2019. */
+
+#define GNULIB_NAMESPACE gnulib
+#include <config.h>
+
+#ifdef TEST_STDBOOL_H
+# include <stdbool.h>
+#endif
+
+
+/* These tests are a subset of the C language tests in test-stdbool.c. */
+
+#if false
+ "error: false is not 0"
+#endif
+#if true != 1
+ "error: true is not 1"
+#endif
+
+struct s { bool u: 1; bool v; } s;
+
+char a[true == 1 ? 1 : -1];
+char b[false == 0 ? 1 : -1];
+char c[(unsigned char) true == 1 ? 1 : -1];
+char d[(unsigned char) false == 0 ? 1 : -1];
+
+
+int
+main ()
+{
+}
--- /dev/null
+/* Test of <stdbool.h> substitute in C++ mode.
+ Copyright (C) 2019-2024 Free Software Foundation, Inc.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>. */
+
+#define GNULIB_NAMESPACE gnulib
+#include <config.h>
+
+#if __cplusplus >= 201103 && __cplusplus < 202002
+
+# include <cstdbool>
+
+#endif
#define TEST_STDBOOL_H
-#include "test-stdbool-c++.cc"
+#include "test-stdbool-h-c++.cc"
#define TEST_STDBOOL_H
-#include "test-stdbool.c"
+#include "test-stdbool-h.c"
--- /dev/null
+/* Test bool.
+ Copyright (C) 2002-2007, 2009-2024 Free Software Foundation, Inc.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>. */
+
+/* Written by Bruno Haible <bruno@clisp.org>, 2007. */
+
+/* Define ADDRESS_CHECK_OKAY if it is OK to assign an address to a 'bool'
+ and this does not generate a warning (because we want this test to succeed
+ even when using gcc's -Werror). */
+#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) \
+ || (__clang_major__ >= 4)
+/* We can silence the warning. */
+# pragma GCC diagnostic ignored "-Waddress"
+# define ADDRESS_CHECK_OKAY
+#elif defined __GNUC__ || defined __clang__
+/* There may be a warning. */
+#else
+/* Ignore warnings from other compilers. */
+# define ADDRESS_CHECK_OKAY
+#endif
+
+#include <config.h>
+
+#ifdef TEST_STDBOOL_H
+# include <stdbool.h>
+#endif
+
+#if false
+ "error: false is not 0"
+#endif
+#if true != 1
+ "error: true is not 1"
+#endif
+
+/* Several tests cannot be guaranteed with gnulib's <stdbool.h>, at
+ least, not for all compilers and compiler options. */
+#if ((HAVE_C_BOOL || defined __cplusplus \
+ || HAVE_STDBOOL_H || 3 <= __GNUC__ || 4 <= __clang_major__) \
+ && !(defined _MSC_VER || defined __SUNPRO_C))
+# define WORKING_BOOL 1
+#else
+# define WORKING_BOOL 0
+#endif
+
+#if WORKING_BOOL
+struct s { bool s: 1; bool t; } s;
+#endif
+
+char a[true == 1 ? 1 : -1];
+char b[false == 0 ? 1 : -1];
+#if WORKING_BOOL
+char d[(bool) 0.5 == true ? 1 : -1];
+# ifdef ADDRESS_CHECK_OKAY /* Avoid gcc warning. */
+/* C99 may plausibly be interpreted as not requiring support for a cast from
+ a variable's address to bool in a static initializer. So treat it like a
+ GCC extension. */
+# if defined __GNUC__ || defined __clang__
+bool e = &s;
+# endif
+# endif
+char f[(bool) 0.0 == false ? 1 : -1];
+#endif
+char g[true];
+char h[sizeof (bool)];
+#if WORKING_BOOL
+char i[sizeof s.t];
+#endif
+enum { j = false, k = true, l = false * true, m = true * 256 };
+bool n[m];
+char o[sizeof n == m * sizeof n[0] ? 1 : -1];
+char p[-1 - (bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
+/* Catch a bug in an HP-UX C compiler. See
+ https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
+ https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html
+ */
+bool q = true;
+bool *pq = &q;
+
+int
+main ()
+{
+ int error = 0;
+
+#if WORKING_BOOL
+# ifdef ADDRESS_CHECK_OKAY /* Avoid gcc warning. */
+ /* A cast from a variable's address to bool is valid in expressions. */
+ {
+ bool e1 = &s;
+ if (!e1)
+ error = 1;
+ }
+# endif
+#endif
+
+ /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
+ reported by James Lemley on 2005-10-05; see
+ https://lists.gnu.org/r/bug-coreutils/2005-10/msg00086.html
+ This is a runtime test, since a corresponding compile-time
+ test would rely on initializer extensions. */
+ {
+ char digs[] = "0123456789";
+ if (&(digs + 5)[-2 + (bool) 1] != &digs[4])
+ error = 1;
+ }
+
+ return error;
+}
+++ /dev/null
-/* Test bool.
- Copyright (C) 2002-2007, 2009-2024 Free Software Foundation, Inc.
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>. */
-
-/* Written by Bruno Haible <bruno@clisp.org>, 2007. */
-
-/* Define ADDRESS_CHECK_OKAY if it is OK to assign an address to a 'bool'
- and this does not generate a warning (because we want this test to succeed
- even when using gcc's -Werror). */
-#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) \
- || (__clang_major__ >= 4)
-/* We can silence the warning. */
-# pragma GCC diagnostic ignored "-Waddress"
-# define ADDRESS_CHECK_OKAY
-#elif defined __GNUC__ || defined __clang__
-/* There may be a warning. */
-#else
-/* Ignore warnings from other compilers. */
-# define ADDRESS_CHECK_OKAY
-#endif
-
-#include <config.h>
-
-#ifdef TEST_STDBOOL_H
-# include <stdbool.h>
-#endif
-
-#if false
- "error: false is not 0"
-#endif
-#if true != 1
- "error: true is not 1"
-#endif
-
-/* Several tests cannot be guaranteed with gnulib's <stdbool.h>, at
- least, not for all compilers and compiler options. */
-#if ((HAVE_C_BOOL || defined __cplusplus \
- || HAVE_STDBOOL_H || 3 <= __GNUC__ || 4 <= __clang_major__) \
- && !(defined _MSC_VER || defined __SUNPRO_C))
-# define WORKING_BOOL 1
-#else
-# define WORKING_BOOL 0
-#endif
-
-#if WORKING_BOOL
-struct s { bool s: 1; bool t; } s;
-#endif
-
-char a[true == 1 ? 1 : -1];
-char b[false == 0 ? 1 : -1];
-#if WORKING_BOOL
-char d[(bool) 0.5 == true ? 1 : -1];
-# ifdef ADDRESS_CHECK_OKAY /* Avoid gcc warning. */
-/* C99 may plausibly be interpreted as not requiring support for a cast from
- a variable's address to bool in a static initializer. So treat it like a
- GCC extension. */
-# if defined __GNUC__ || defined __clang__
-bool e = &s;
-# endif
-# endif
-char f[(bool) 0.0 == false ? 1 : -1];
-#endif
-char g[true];
-char h[sizeof (bool)];
-#if WORKING_BOOL
-char i[sizeof s.t];
-#endif
-enum { j = false, k = true, l = false * true, m = true * 256 };
-bool n[m];
-char o[sizeof n == m * sizeof n[0] ? 1 : -1];
-char p[-1 - (bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
-/* Catch a bug in an HP-UX C compiler. See
- https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
- https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html
- */
-bool q = true;
-bool *pq = &q;
-
-int
-main ()
-{
- int error = 0;
-
-#if WORKING_BOOL
-# ifdef ADDRESS_CHECK_OKAY /* Avoid gcc warning. */
- /* A cast from a variable's address to bool is valid in expressions. */
- {
- bool e1 = &s;
- if (!e1)
- error = 1;
- }
-# endif
-#endif
-
- /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
- reported by James Lemley on 2005-10-05; see
- https://lists.gnu.org/r/bug-coreutils/2005-10/msg00086.html
- This is a runtime test, since a corresponding compile-time
- test would rely on initializer extensions. */
- {
- char digs[] = "0123456789";
- if (&(digs + 5)[-2 + (bool) 1] != &digs[4])
- error = 1;
- }
-
- return error;
-}