[SCM] GNU Inetutils branch, master, updated. inetutils-1_8-176-g0847dca

Mats Erik Andersson <[email protected]>
Newsgroups gmane.comp.gnu.inetutils.cvs
Message-ID <[email protected]>
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  0847dcaaa4c9cebf863915c4eb8930c15a62515d (commit)
      from  69b659c136ca297cd351bbd1ad24cc3fc23bc9ce (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=0847dcaaa4c9cebf863915c4eb8930c15a62515d


commit 0847dcaaa4c9cebf863915c4eb8930c15a62515d
Author: Mats Erik Andersson <[email protected]>
Date:   Mon Nov 21 17:58:49 2011 +0100

    Remove obsolete inclusion <malloc.h>.

diff --git a/ChangeLog b/ChangeLog
index cc96ecb..87f80de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-11-21  Mats Erik Andersson <[email protected]>
 
+	* configure.ac: Do not check for <malloc.h>.
+	* libinetutils/localhost.c [HAVE_MALLOC_H]: Do not include
+	<malloc.h> and delete the conditional.
+	* telnet/commands.c [HAVE_MALLOC_H]: Likewise.
+
+2011-11-21  Mats Erik Andersson <[email protected]>
+
 	* telnetd/telnetd.c (login_invocation) [SOLARIS]: Changes for terminal
 	and user name.
 	* TODO: Updated.
diff --git a/configure.ac b/configure.ac
index 75d43f5..b0259e5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -440,7 +440,7 @@ AC_HEADER_TIME
 AC_HEADER_DIRENT
 
 AC_CHECK_HEADERS([arpa/nameser.h des.h errno.h fcntl.h features.h glob.h \
-                  krb.h memory.h malloc.h netinet/in_systm.h netinet/ip.h \
+                  krb.h memory.h netinet/in_systm.h netinet/ip.h \
                   netinet/ip_icmp.h netinet/ip_var.h \
 		  security/pam_appl.h \
                   shadow.h stdarg.h stdlib.h string.h stropts.h sys/tty.h \
diff --git a/libinetutils/localhost.c b/libinetutils/localhost.c
index 8d00270..abb734b 100644
--- a/libinetutils/localhost.c
+++ b/libinetutils/localhost.c
@@ -23,9 +23,6 @@
 #include <config.h>
 
 #include <unistd.h>
-#ifdef HAVE_MALLOC_H
-# include <malloc.h>
-#endif
 #include <stdlib.h>
 #include <stdint.h>
 #include <string.h>
diff --git a/telnet/commands.c b/telnet/commands.c
index 1f68d3c..a2db7fe 100644
--- a/telnet/commands.c
+++ b/telnet/commands.c
@@ -71,9 +71,6 @@
 #include <errno.h>
 
 #include <stdlib.h>
-#ifdef HAVE_MALLOC_H
-# include <malloc.h>
-#endif
 
 #include <arpa/inet.h>
 #include <arpa/telnet.h>

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

Summary of changes:
 ChangeLog                |    7 +++++++
 configure.ac             |    2 +-
 libinetutils/localhost.c |    3 ---
 telnet/commands.c        |    3 ---
 4 files changed, 8 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
GNU Inetutils
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.