commit-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Inetutils branch, master, updated. v2.0-4-g957d879


From: Simon Josefsson
Subject: [SCM] GNU Inetutils branch, master, updated. v2.0-4-g957d879
Date: Fri, 5 Feb 2021 14:27:50 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Inetutils ".

The branch, master has been updated
       via  957d8794d7f90b1e7442b83ffbe67f7e135b206c (commit)
       via  dfe97d186ebdcf8a508392ba0a46580abd40858c (commit)
      from  ea26ff8166eb93c03aca4995278f43990dff5712 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=957d8794d7f90b1e7442b83ffbe67f7e135b206c


commit 957d8794d7f90b1e7442b83ffbe67f7e135b206c
Author: Simon Josefsson <simon@josefsson.org>
Date:   Fri Feb 5 20:26:59 2021 +0100

    Use gnulib sys_types module so we can assume sys/types.h.
    
    * tests/waitdaemon.c, tests/runtime-ipv6.c, tests/readutmp.c: Drop
    HAVE_SYS_TYPES_H test.
    * bootstrap.conf (gnulib_modules): Add explicit sys_types.

diff --git a/ChangeLog b/ChangeLog
index e7b0bc4..ddf9d3a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2021-02-05  Simon Josefsson  <simon@josefsson.org>
 
+       Use gnulib sys_types module so we can assume sys/types.h.
+
+       * tests/waitdaemon.c, tests/runtime-ipv6.c, tests/readutmp.c: Drop
+       HAVE_SYS_TYPES_H test.
+       * bootstrap.conf (gnulib_modules): Add explicit sys_types.
+
+2021-02-05  Simon Josefsson  <simon@josefsson.org>
+
        Fix some autoreconf 2.71 warnings.
 
        * configure.ac: Remove obsolete AC_HEADER_STDC, AC_HEADER_TIME,
diff --git a/bootstrap.conf b/bootstrap.conf
index 53bff95..4e38967 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -41,7 +41,6 @@ gnulib_name=libgnu
 gnulib_modules="
 alloca
 alloca-opt
-readme-release
 argp
 argp-version-etc
 autobuild
@@ -75,6 +74,7 @@ poll
 progname
 read-file
 readline
+readme-release
 readutmp
 realloc-gnu
 regex
@@ -90,6 +90,7 @@ strchrnul
 strerror
 strndup
 strnlen
+sys_types
 sysexits
 termios
 unistd-safer
diff --git a/tests/readutmp.c b/tests/readutmp.c
index 02d42b1..26ec915 100644
--- a/tests/readutmp.c
+++ b/tests/readutmp.c
@@ -36,9 +36,7 @@
 #include <unistd.h>
 #include <stdlib.h>
 #include <string.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
+#include <sys/types.h>
 #include <pwd.h>
 
 #include <progname.h>
diff --git a/tests/runtime-ipv6.c b/tests/runtime-ipv6.c
index 1f9b089..b0fd30b 100644
--- a/tests/runtime-ipv6.c
+++ b/tests/runtime-ipv6.c
@@ -41,9 +41,7 @@
 #include <unistd.h>
 #include <stdlib.h>
 #include <string.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <netdb.h>
 
diff --git a/tests/waitdaemon.c b/tests/waitdaemon.c
index 71c1320..95bf2ee 100644
--- a/tests/waitdaemon.c
+++ b/tests/waitdaemon.c
@@ -27,9 +27,7 @@
 #include <unistd.h>
 #include <stdlib.h>
 #include <string.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
+#include <sys/types.h>
 #include <signal.h>
 #include <errno.h>
 

http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=dfe97d186ebdcf8a508392ba0a46580abd40858c


commit dfe97d186ebdcf8a508392ba0a46580abd40858c
Author: Simon Josefsson <simon@josefsson.org>
Date:   Fri Feb 5 20:13:49 2021 +0100

    Fix some autoreconf 2.71 warnings.
    
    configure.ac: Remove obsolete AC_HEADER_STDC, AC_HEADER_TIME,
    AC_FUNC_SETVBUF_REVERSED, and AC_DECL_SYS_SIGLIST.  Don't check
    for sys/time.h, we never use the test result.

diff --git a/ChangeLog b/ChangeLog
index 712944e..e7b0bc4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2021-02-05  Simon Josefsson  <simon@josefsson.org>
+
+       Fix some autoreconf 2.71 warnings.
+
+       * configure.ac: Remove obsolete AC_HEADER_STDC, AC_HEADER_TIME,
+       AC_FUNC_SETVBUF_REVERSED, and AC_DECL_SYS_SIGLIST.  Don't check
+       for sys/time.h, we never use the test result.
+
 2021-02-01  Alfred M. Szmidt  <ams@gnu.org>
 
        * ftp/ftp.c (getreply): Fix possible buffer overflow (backport
diff --git a/configure.ac b/configure.ac
index 86136fb..43ce616 100644
--- a/configure.ac
+++ b/configure.ac
@@ -613,8 +613,6 @@ IU_CHECK_LIBIDN([$with_libidn_prefix], [$with_idn])
 
 ### Checks for header files.
 
-AC_HEADER_STDC
-AC_HEADER_TIME
 AC_HEADER_DIRENT
 
 AC_CHECK_HEADERS([arpa/nameser.h arpa/tftp.h errno.h fcntl.h features.h \
@@ -625,7 +623,7 @@ AC_CHECK_HEADERS([arpa/nameser.h arpa/tftp.h errno.h 
fcntl.h features.h \
                  sys/utsname.h sys/ptyvar.h sys/msgbuf.h sys/filio.h \
                  sys/ioctl_compat.h sys/cdefs.h sys/stream.h sys/mkdev.h \
                  sys/sockio.h sys/sysmacros.h sys/param.h sys/file.h \
-                 sys/proc.h sys/select.h sys/time.h sys/wait.h \
+                 sys/proc.h sys/select.h sys/wait.h \
                   sys/resource.h \
                  stropts.h tcpd.h utmp.h utmpx.h unistd.h \
                   vis.h], [], [], [
@@ -769,7 +767,6 @@ IU_CHECK_WEAK_REFS
 
 ### Checks for library functions.
 AC_FUNC_CLOSEDIR_VOID
-AC_FUNC_SETVBUF_REVERSED
 AC_FUNC_FORK
 AC_FUNC_STRCOLL
 AC_FUNC_MMAP
@@ -902,8 +899,6 @@ AC_MSG_RESULT([$ac_iu_const_enctype_names])
 
 ## Checks for function declarations.
 
-AC_DECL_SYS_SIGLIST
-
 AC_CHECK_DECLS(crypt, , , [#include <unistd.h>])
 
 # EWOULDBLOCK is more or less the BSD version of posix EAGAIN.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog            | 16 ++++++++++++++++
 bootstrap.conf       |  3 ++-
 configure.ac         |  7 +------
 tests/readutmp.c     |  4 +---
 tests/runtime-ipv6.c |  4 +---
 tests/waitdaemon.c   |  4 +---
 6 files changed, 22 insertions(+), 16 deletions(-)


hooks/post-receive
-- 
GNU Inetutils 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]