* modules/sys_un-h: Renamed from modules/sys_un.
* modules/sys_un-h-tests: Renamed from modules/sys_un-tests.
* modules/sys_un-h-c++-tests: Renamed from modules/sys_un-c++-tests.
* tests/test-sys_un-h.c: Renamed from tests/test-sys_un.c.
* tests/test-sys_un-h-c++.cc: Renamed from tests/test-sys_un-c++.cc.
* doc/posix-headers/sys_un.texi: Update.
* modules/sys_un: New file.
+2024-12-27 Bruno Haible <bruno@clisp.org>
+
+ Rename module sys_un to sys_un-h.
+ * modules/sys_un-h: Renamed from modules/sys_un.
+ * modules/sys_un-h-tests: Renamed from modules/sys_un-tests.
+ * modules/sys_un-h-c++-tests: Renamed from modules/sys_un-c++-tests.
+ * tests/test-sys_un-h.c: Renamed from tests/test-sys_un.c.
+ * tests/test-sys_un-h-c++.cc: Renamed from tests/test-sys_un-c++.cc.
+ * doc/posix-headers/sys_un.texi: Update.
+ * modules/sys_un: New file.
+
2024-12-27 Bruno Haible <bruno@clisp.org>
Rename module sys_uio to sys_uio-h.
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_un.h.html}
-Gnulib module: sys_un
-@mindex sys_un
+Gnulib module: sys_un-h
+@mindex sys_un-h
Portability problems fixed by Gnulib:
@itemize
Description:
A POSIX-like <sys/un.h>.
+Status:
+deprecated
+
+Notice:
+This module is deprecated. Use the module 'sys_un-h' instead.
+
Files:
-lib/sys_un.in.h
-m4/sys_un_h.m4
Depends-on:
-gen-header
-include_next
-sys_socket-h
+sys_un-h
configure.ac:
-gl_SYS_UN_H
-gl_CONDITIONAL_HEADER([sys/un.h])
-AC_PROG_MKDIR_P
Makefile.am:
-BUILT_SOURCES += $(SYS_UN_H)
-
-# We need the following in order to create <sys/un.h> when the system
-# doesn't have one.
-if GL_GENERATE_SYS_UN_H
-sys/un.h: sys_un.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|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
- -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
- -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
- -e 's|@''NEXT_SYS_UN_H''@|$(NEXT_SYS_UN_H)|g' \
- -e 's|@''HAVE_SYS_UN_H''@|$(HAVE_SYS_UN_H)|g' \
- -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
- -e 's|@''HAVE_AFUNIX_H''@|$(HAVE_AFUNIX_H)|g' \
- $(srcdir)/sys_un.in.h > $@-t
- $(AM_V_at)mv $@-t $@
-else
-sys/un.h: $(top_builddir)/config.status
- rm -f $@
-endif
-MOSTLYCLEANFILES += sys/un.h sys/un.h-t
-MOSTLYCLEANDIRS += sys
Include:
<sys/un.h>
LGPLv2+
Maintainer:
-all
+++ /dev/null
-Files:
-tests/test-sys_un-c++.cc
-
-Status:
-c++-test
-
-Depends-on:
-ansi-c++-opt
-
-configure.ac:
-
-Makefile.am:
-if ANSICXX
-TESTS += test-sys_un-c++
-check_PROGRAMS += test-sys_un-c++
-test_sys_un_c___SOURCES = test-sys_un-c++.cc
-endif
--- /dev/null
+Description:
+A POSIX-like <sys/un.h>.
+
+Files:
+lib/sys_un.in.h
+m4/sys_un_h.m4
+
+Depends-on:
+gen-header
+include_next
+sys_socket-h
+
+configure.ac:
+gl_SYS_UN_H
+gl_CONDITIONAL_HEADER([sys/un.h])
+AC_PROG_MKDIR_P
+
+Makefile.am:
+BUILT_SOURCES += $(SYS_UN_H)
+
+# We need the following in order to create <sys/un.h> when the system
+# doesn't have one.
+if GL_GENERATE_SYS_UN_H
+sys/un.h: sys_un.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|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
+ -e 's|@''NEXT_SYS_UN_H''@|$(NEXT_SYS_UN_H)|g' \
+ -e 's|@''HAVE_SYS_UN_H''@|$(HAVE_SYS_UN_H)|g' \
+ -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
+ -e 's|@''HAVE_AFUNIX_H''@|$(HAVE_AFUNIX_H)|g' \
+ $(srcdir)/sys_un.in.h > $@-t
+ $(AM_V_at)mv $@-t $@
+else
+sys/un.h: $(top_builddir)/config.status
+ rm -f $@
+endif
+MOSTLYCLEANFILES += sys/un.h sys/un.h-t
+MOSTLYCLEANDIRS += sys
+
+Include:
+<sys/un.h>
+
+License:
+LGPLv2+
+
+Maintainer:
+all
--- /dev/null
+Files:
+tests/test-sys_un-h-c++.cc
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-sys_un-h-c++
+check_PROGRAMS += test-sys_un-h-c++
+test_sys_un_h_c___SOURCES = test-sys_un-h-c++.cc
+endif
--- /dev/null
+Files:
+tests/test-sys_un-h.c
+
+Depends-on:
+assert-h
+sys_un-h-c++-tests
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-sys_un-h
+check_PROGRAMS += test-sys_un-h
+++ /dev/null
-Files:
-tests/test-sys_un.c
-
-Depends-on:
-assert-h
-sys_un-c++-tests
-
-configure.ac:
-
-Makefile.am:
-TESTS += test-sys_un
-check_PROGRAMS += test-sys_un