* modules/ctype-h: Renamed from modules/ctype.
* modules/ctype-h-tests: Renamed from modules/ctype-tests.
* modules/ctype-h-c++-tests: Renamed from modules/ctype-c++-tests.
* tests/test-ctype-h.c: Renamed from tests/test-ctype.c.
* tests/test-ctype-h-c++.cc: Renamed from tests/test-ctype-c++.cc.
* tests/test-ctype-h-c++2.cc: Renamed from tests/test-ctype-c++2.cc.
* doc/posix-headers/ctype.texi: Update.
* modules/* (Depends-on): Update.
* modules/ctype: New file.
+2025-02-13 Bruno Haible <bruno@clisp.org>
+
+ Rename module ctype to ctype-h.
+ * modules/ctype-h: Renamed from modules/ctype.
+ * modules/ctype-h-tests: Renamed from modules/ctype-tests.
+ * modules/ctype-h-c++-tests: Renamed from modules/ctype-c++-tests.
+ * tests/test-ctype-h.c: Renamed from tests/test-ctype.c.
+ * tests/test-ctype-h-c++.cc: Renamed from tests/test-ctype-c++.cc.
+ * tests/test-ctype-h-c++2.cc: Renamed from tests/test-ctype-c++2.cc.
+ * doc/posix-headers/ctype.texi: Update.
+ * modules/* (Depends-on): Update.
+ * modules/ctype: New file.
+
2025-02-13 Bruno Haible <bruno@clisp.org>
getaddrinfo: Fix a compilation error in C++ mode (regression yesterday).
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/ctype.h.html}
-Gnulib module: ctype
-@mindex ctype
+Gnulib module: ctype-h
+@mindex ctype-h
Portability problems fixed by Gnulib:
@itemize
tests/macros.h
Depends-on:
-ctype
+ctype-h
isblank
configure.ac:
Description:
-A <ctype.h> that conforms to C99.
+A <ctype.h> that works around platform issues.
+
+Status:
+deprecated
+
+Notice:
+This module is deprecated. Use the module 'ctype-h' instead.
Files:
-lib/ctype.in.h
-m4/ctype_h.m4
Depends-on:
-extern-inline
-gen-header
-include_next
-snippet/c++defs
-snippet/warn-on-use
+ctype-h
configure.ac:
-gl_CTYPE_H
-gl_CTYPE_H_REQUIRE_DEFAULTS
-AC_PROG_MKDIR_P
Makefile.am:
-BUILT_SOURCES += ctype.h
-
-# We need the following in order to create <ctype.h> when the system
-# doesn't have one that works with the given compiler.
-ctype.h: ctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
-@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
- $(gl_V_at)$(SED_HEADER_STDOUT) \
- -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
- -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
- -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
- -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
- -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \
- -e 's/@''GNULIB_ISBLANK''@/$(GNULIB_ISBLANK)/g' \
- -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \
- -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
- -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
- $(srcdir)/ctype.in.h > $@-t
- $(AM_V_at)mv $@-t $@
-MOSTLYCLEANFILES += ctype.h ctype.h-t
Include:
<ctype.h>
LGPLv2+
Maintainer:
-all
+++ /dev/null
-Files:
-tests/test-ctype-c++.cc
-tests/test-ctype-c++2.cc
-tests/signature.h
-
-Status:
-c++-test
-
-Depends-on:
-ansi-c++-opt
-
-configure.ac:
-
-Makefile.am:
-if ANSICXX
-TESTS += test-ctype-c++
-check_PROGRAMS += test-ctype-c++
-test_ctype_c___SOURCES = test-ctype-c++.cc test-ctype-c++2.cc
-endif
--- /dev/null
+Description:
+A <ctype.h> that conforms to C99.
+
+Files:
+lib/ctype.in.h
+m4/ctype_h.m4
+
+Depends-on:
+extern-inline
+gen-header
+include_next
+snippet/c++defs
+snippet/warn-on-use
+
+configure.ac:
+gl_CTYPE_H
+gl_CTYPE_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
+
+Makefile.am:
+BUILT_SOURCES += ctype.h
+
+# We need the following in order to create <ctype.h> when the system
+# doesn't have one that works with the given compiler.
+ctype.h: ctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
+ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
+ -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \
+ -e 's/@''GNULIB_ISBLANK''@/$(GNULIB_ISBLANK)/g' \
+ -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \
+ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
+ $(srcdir)/ctype.in.h > $@-t
+ $(AM_V_at)mv $@-t $@
+MOSTLYCLEANFILES += ctype.h ctype.h-t
+
+Include:
+<ctype.h>
+
+License:
+LGPLv2+
+
+Maintainer:
+all
--- /dev/null
+Files:
+tests/test-ctype-h-c++.cc
+tests/test-ctype-h-c++2.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-ctype-h-c++
+check_PROGRAMS += test-ctype-h-c++
+test_ctype_h_c___SOURCES = test-ctype-h-c++.cc test-ctype-h-c++2.cc
+endif
--- /dev/null
+Files:
+tests/test-ctype-h.c
+
+Depends-on:
+ctype-h-c++-tests
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-ctype-h
+check_PROGRAMS += test-ctype-h
+++ /dev/null
-Files:
-tests/test-ctype.c
-
-Depends-on:
-ctype-c++-tests
-
-configure.ac:
-
-Makefile.am:
-TESTS += test-ctype
-check_PROGRAMS += test-ctype
c32tolower
c32toupper
c99
-ctype
+ctype-h
flexmember
gettext-h
gnulib-i18n
Depends-on:
extensions
-ctype
+ctype-h
configure.ac:
gl_FUNC_ISBLANK
Depends-on:
# All modules that depend on 'snippet/warn-on-use'.
arpa_inet-h
-ctype
+ctype-h
dirent-h
fcntl-h
fnmatch-h