* modules/sys_ioctl-h: Renamed from modules/sys_ioctl.
* modules/sys_ioctl-h-tests: Renamed from modules/sys_ioctl-tests.
* modules/sys_ioctl-h-c++-tests: Renamed from
modules/sys_ioctl-c++-tests.
* tests/test-sys_ioctl-h.c: Renamed from tests/test-sys_ioctl.c.
* tests/test-sys_ioctl-h-c++.cc: Renamed from
tests/test-sys_ioctl-c++.cc.
* doc/glibc-headers/sys_ioctl.texi: Update.
* modules/* (Depends-on): Update.
* modules/sys_ioctl: New file.
+2024-12-27 Bruno Haible <bruno@clisp.org>
+
+ Rename module sys_ioctl to sys_ioctl-h.
+ * modules/sys_ioctl-h: Renamed from modules/sys_ioctl.
+ * modules/sys_ioctl-h-tests: Renamed from modules/sys_ioctl-tests.
+ * modules/sys_ioctl-h-c++-tests: Renamed from
+ modules/sys_ioctl-c++-tests.
+ * tests/test-sys_ioctl-h.c: Renamed from tests/test-sys_ioctl.c.
+ * tests/test-sys_ioctl-h-c++.cc: Renamed from
+ tests/test-sys_ioctl-c++.cc.
+ * doc/glibc-headers/sys_ioctl.texi: Update.
+ * modules/* (Depends-on): Update.
+ * modules/sys_ioctl: New file.
+
2024-12-27 Bruno Haible <bruno@clisp.org>
Rename module sys_file to sys_file-h.
@uref{https://www.kernel.org/doc/man-pages/online/pages/man2/ioctl.2.html,,man ioctl}.
@end itemize
-Gnulib module: sys_ioctl
-@mindex sys_ioctl
+Gnulib module: sys_ioctl-h
+@mindex sys_ioctl-h
Portability problems fixed by Gnulib:
@itemize
m4/ioctl.m4
Depends-on:
-sys_ioctl
+sys_ioctl-h
sys_socket [test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1]
errno-h [test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1]
fd-hook [test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1]
Depends-on:
utmp
-sys_ioctl
+sys_ioctl-h
open [test $HAVE_LOGIN_TTY = 0]
configure.ac:
sys_socket
netinet_in-h
arpa_inet-h
-sys_ioctl
+sys_ioctl-h
extensions
inet_pton
errno-h
string-h
strings-h
sys_file-h
-sys_ioctl
+sys_ioctl-h
sys_random
sys_resource
sys_select
netinet_in-h
arpa_inet-h
unistd
-sys_ioctl
+sys_ioctl-h
extensions
inet_pton
errno-h
netinet_in-h
arpa_inet-h
unistd
-sys_ioctl
+sys_ioctl-h
extensions
inet_pton
errno-h
Description:
A <sys/ioctl.h> for systems with missing declarations.
+Status:
+deprecated
+
+Notice:
+This module is deprecated. Use the module 'sys_ioctl-h' instead.
+
Files:
-lib/sys_ioctl.in.h
-m4/sys_ioctl_h.m4
Depends-on:
-gen-header
-include_next
-snippet/c++defs
-snippet/warn-on-use
-unistd
+sys_ioctl-h
configure.ac:
-gl_SYS_IOCTL_H
-gl_SYS_IOCTL_H_REQUIRE_DEFAULTS
-AC_PROG_MKDIR_P
Makefile.am:
-BUILT_SOURCES += sys/ioctl.h
-
-# We need the following in order to create <sys/ioctl.h> when the system
-# does not have a complete one.
-sys/ioctl.h: sys_ioctl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
- $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
- $(AM_V_at)$(SED_HEADER_STDOUT) \
- -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
- -e 's|@''HAVE_SYS_IOCTL_H''@|$(HAVE_SYS_IOCTL_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_SYS_IOCTL_H''@|$(NEXT_SYS_IOCTL_H)|g' \
- -e 's/@''GNULIB_IOCTL''@/$(GNULIB_IOCTL)/g' \
- -e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H''@|$(SYS_IOCTL_H_HAVE_WINSOCK2_H)|g' \
- -e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
- -e 's|@''REPLACE_IOCTL''@|$(REPLACE_IOCTL)|g' \
- -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
- -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
- $(srcdir)/sys_ioctl.in.h > $@-t
- $(AM_V_at)mv $@-t $@
-MOSTLYCLEANFILES += sys/ioctl.h sys/ioctl.h-t
-MOSTLYCLEANDIRS += sys
Include:
<sys/ioctl.h>
LGPLv2+
Maintainer:
-all
+++ /dev/null
-Files:
-tests/test-sys_ioctl-c++.cc
-tests/signature.h
-
-Status:
-c++-test
-
-Depends-on:
-ansi-c++-opt
-
-configure.ac:
-
-Makefile.am:
-if ANSICXX
-TESTS += test-sys_ioctl-c++
-check_PROGRAMS += test-sys_ioctl-c++
-test_sys_ioctl_c___SOURCES = test-sys_ioctl-c++.cc
-test_sys_ioctl_c___LDADD = $(LDADD) $(LIBINTL) $(LIBSOCKET) $(CLOCK_TIME_LIB) $(EUIDACCESS_LIBGEN)
-endif
--- /dev/null
+Description:
+A <sys/ioctl.h> for systems with missing declarations.
+
+Files:
+lib/sys_ioctl.in.h
+m4/sys_ioctl_h.m4
+
+Depends-on:
+gen-header
+include_next
+snippet/c++defs
+snippet/warn-on-use
+unistd
+
+configure.ac:
+gl_SYS_IOCTL_H
+gl_SYS_IOCTL_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
+
+Makefile.am:
+BUILT_SOURCES += sys/ioctl.h
+
+# We need the following in order to create <sys/ioctl.h> when the system
+# does not have a complete one.
+sys/ioctl.h: sys_ioctl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
+ $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
+ $(AM_V_at)$(SED_HEADER_STDOUT) \
+ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
+ -e 's|@''HAVE_SYS_IOCTL_H''@|$(HAVE_SYS_IOCTL_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_SYS_IOCTL_H''@|$(NEXT_SYS_IOCTL_H)|g' \
+ -e 's/@''GNULIB_IOCTL''@/$(GNULIB_IOCTL)/g' \
+ -e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H''@|$(SYS_IOCTL_H_HAVE_WINSOCK2_H)|g' \
+ -e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
+ -e 's|@''REPLACE_IOCTL''@|$(REPLACE_IOCTL)|g' \
+ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
+ $(srcdir)/sys_ioctl.in.h > $@-t
+ $(AM_V_at)mv $@-t $@
+MOSTLYCLEANFILES += sys/ioctl.h sys/ioctl.h-t
+MOSTLYCLEANDIRS += sys
+
+Include:
+<sys/ioctl.h>
+
+License:
+LGPLv2+
+
+Maintainer:
+all
--- /dev/null
+Files:
+tests/test-sys_ioctl-h-c++.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-sys_ioctl-h-c++
+check_PROGRAMS += test-sys_ioctl-h-c++
+test_sys_ioctl_h_c___SOURCES = test-sys_ioctl-h-c++.cc
+test_sys_ioctl_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIBSOCKET) $(CLOCK_TIME_LIB) $(EUIDACCESS_LIBGEN)
+endif
--- /dev/null
+Files:
+tests/test-sys_ioctl-h.c
+
+Depends-on:
+sys_ioctl-h-c++-tests
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-sys_ioctl-h
+check_PROGRAMS += test-sys_ioctl-h
+++ /dev/null
-Files:
-tests/test-sys_ioctl.c
-
-Depends-on:
-sys_ioctl-c++-tests
-
-configure.ac:
-
-Makefile.am:
-TESTS += test-sys_ioctl
-check_PROGRAMS += test-sys_ioctl
Depends-on:
termios
extensions
-sys_ioctl [test $HAVE_TCGETSID = 0]
+sys_ioctl-h [test $HAVE_TCGETSID = 0]
configure.ac:
gl_FUNC_TCGETSID