mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-04-28 06:33:36 +00:00
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.
This commit is contained in:
13
ChangeLog
13
ChangeLog
@@ -1,3 +1,16 @@
|
||||
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).
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
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
|
||||
|
||||
@@ -3,7 +3,7 @@ tests/test-c-ctype.c
|
||||
tests/macros.h
|
||||
|
||||
Depends-on:
|
||||
ctype
|
||||
ctype-h
|
||||
isblank
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -1,42 +1,20 @@
|
||||
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>
|
||||
@@ -45,4 +23,3 @@ License:
|
||||
LGPLv2+
|
||||
|
||||
Maintainer:
|
||||
all
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
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
|
||||
48
modules/ctype-h
Normal file
48
modules/ctype-h
Normal file
@@ -0,0 +1,48 @@
|
||||
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
|
||||
19
modules/ctype-h-c++-tests
Normal file
19
modules/ctype-h-c++-tests
Normal file
@@ -0,0 +1,19 @@
|
||||
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
|
||||
11
modules/ctype-h-tests
Normal file
11
modules/ctype-h-tests
Normal file
@@ -0,0 +1,11 @@
|
||||
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
|
||||
@@ -1,11 +0,0 @@
|
||||
Files:
|
||||
tests/test-ctype.c
|
||||
|
||||
Depends-on:
|
||||
ctype-c++-tests
|
||||
|
||||
configure.ac:
|
||||
|
||||
Makefile.am:
|
||||
TESTS += test-ctype
|
||||
check_PROGRAMS += test-ctype
|
||||
@@ -16,7 +16,7 @@ c32tob
|
||||
c32tolower
|
||||
c32toupper
|
||||
c99
|
||||
ctype
|
||||
ctype-h
|
||||
flexmember
|
||||
gettext-h
|
||||
gnulib-i18n
|
||||
|
||||
@@ -7,7 +7,7 @@ m4/isblank.m4
|
||||
|
||||
Depends-on:
|
||||
extensions
|
||||
ctype
|
||||
ctype-h
|
||||
|
||||
configure.ac:
|
||||
gl_FUNC_ISBLANK
|
||||
|
||||
@@ -8,7 +8,7 @@ m4/posixcheck.m4
|
||||
Depends-on:
|
||||
# All modules that depend on 'snippet/warn-on-use'.
|
||||
arpa_inet-h
|
||||
ctype
|
||||
ctype-h
|
||||
dirent-h
|
||||
fcntl-h
|
||||
fnmatch-h
|
||||
|
||||
Reference in New Issue
Block a user