* modules/sysexits-h: Renamed from modules/sysexits.
* modules/sysexits-h-tests: Renamed from modules/sysexits-tests.
* modules/sysexits-h-c++-tests: Renamed from modules/sysexits-c++-tests.
* tests/test-sysexits-h.c: Renamed from tests/test-sysexits.c.
* tests/test-sysexits-h-c++.cc: Renamed from tests/test-sysexits-c++.cc.
* doc/glibc-headers/sysexits.texi: Update.
* modules/* (Depends-on): Update.
* modules/sysexits: New file.
+2024-12-27 Bruno Haible <bruno@clisp.org>
+
+ Rename module sysexits to sysexits-h.
+ * modules/sysexits-h: Renamed from modules/sysexits.
+ * modules/sysexits-h-tests: Renamed from modules/sysexits-tests.
+ * modules/sysexits-h-c++-tests: Renamed from modules/sysexits-c++-tests.
+ * tests/test-sysexits-h.c: Renamed from tests/test-sysexits.c.
+ * tests/test-sysexits-h-c++.cc: Renamed from tests/test-sysexits-c++.cc.
+ * doc/glibc-headers/sysexits.texi: Update.
+ * modules/* (Depends-on): Update.
+ * modules/sysexits: New file.
+
2024-12-27 Bruno Haible <bruno@clisp.org>
Rename module strings to strings-h.
Defines the @code{EX_*} macros, including @code{EX_OK}.
-Gnulib module: sysexits
-@mindex sysexits
+Gnulib module: sysexits-h
+@mindex sysexits-h
Portability problems fixed by Gnulib:
@itemize
extern-inline
getopt-gnu
strchrnul
-sysexits
+sysexits-h
malloc-gnu
mempcpy
strndup
Description:
Exit status codes for some BSD system programs.
+Status:
+deprecated
+
+Notice:
+This module is deprecated. Use the module 'sysexits-h' instead.
+
Files:
-lib/sysexits.in.h
-m4/sysexits.m4
Depends-on:
-gen-header
-include_next
-stdlib-h
+sysexits-h
configure.ac:
-gl_SYSEXITS
-gl_CONDITIONAL_HEADER([sysexits.h])
-AC_PROG_MKDIR_P
Makefile.am:
-BUILT_SOURCES += $(SYSEXITS_H)
-
-# We need the following in order to create <sysexits.h> when the system
-# doesn't have one that works with the given compiler.
-if GL_GENERATE_SYSEXITS_H
-sysexits.h: sysexits.in.h $(top_builddir)/config.status
-@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
- $(gl_V_at)$(SED_HEADER_STDOUT) \
- -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
- -e 's|@''HAVE_SYSEXITS_H''@|$(HAVE_SYSEXITS_H)|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_SYSEXITS_H''@|$(NEXT_SYSEXITS_H)|g' \
- $(srcdir)/sysexits.in.h > $@-t
- $(AM_V_at)mv $@-t $@
-else
-sysexits.h: $(top_builddir)/config.status
- rm -f $@
-endif
-MOSTLYCLEANFILES += sysexits.h sysexits.h-t
Include:
<sysexits.h>
LGPLv2+
Maintainer:
-Simon Josefsson
+++ /dev/null
-Files:
-tests/test-sysexits-c++.cc
-
-Status:
-c++-test
-
-Depends-on:
-ansi-c++-opt
-
-configure.ac:
-
-Makefile.am:
-if ANSICXX
-TESTS += test-sysexits-c++
-check_PROGRAMS += test-sysexits-c++
-test_sysexits_c___SOURCES = test-sysexits-c++.cc
-endif
--- /dev/null
+Description:
+Exit status codes for some BSD system programs.
+
+Files:
+lib/sysexits.in.h
+m4/sysexits.m4
+
+Depends-on:
+gen-header
+include_next
+stdlib-h
+
+configure.ac:
+gl_SYSEXITS
+gl_CONDITIONAL_HEADER([sysexits.h])
+AC_PROG_MKDIR_P
+
+Makefile.am:
+BUILT_SOURCES += $(SYSEXITS_H)
+
+# We need the following in order to create <sysexits.h> when the system
+# doesn't have one that works with the given compiler.
+if GL_GENERATE_SYSEXITS_H
+sysexits.h: sysexits.in.h $(top_builddir)/config.status
+@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
+ $(gl_V_at)$(SED_HEADER_STDOUT) \
+ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
+ -e 's|@''HAVE_SYSEXITS_H''@|$(HAVE_SYSEXITS_H)|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_SYSEXITS_H''@|$(NEXT_SYSEXITS_H)|g' \
+ $(srcdir)/sysexits.in.h > $@-t
+ $(AM_V_at)mv $@-t $@
+else
+sysexits.h: $(top_builddir)/config.status
+ rm -f $@
+endif
+MOSTLYCLEANFILES += sysexits.h sysexits.h-t
+
+Include:
+<sysexits.h>
+
+License:
+LGPLv2+
+
+Maintainer:
+Simon Josefsson
--- /dev/null
+Files:
+tests/test-sysexits-h-c++.cc
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-sysexits-h-c++
+check_PROGRAMS += test-sysexits-h-c++
+test_sysexits_h_c___SOURCES = test-sysexits-h-c++.cc
+endif
--- /dev/null
+Files:
+tests/test-sysexits-h.c
+
+Depends-on:
+sysexits-h-c++-tests
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-sysexits-h
+check_PROGRAMS += test-sysexits-h
+++ /dev/null
-Files:
-tests/test-sysexits.c
-
-Depends-on:
-sysexits-c++-tests
-
-configure.ac:
-
-Makefile.am:
-TESTS += test-sysexits
-check_PROGRAMS += test-sysexits