commit-inetutils
[Top][All Lists]
Advanced

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

[SCM] GNU Inetutils branch, master, updated. release_1_5-221-gc198e79


From: Simon Josefsson
Subject: [SCM] GNU Inetutils branch, master, updated. release_1_5-221-gc198e79
Date: Fri, 13 Nov 2009 17:06:59 +0000

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 ".

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

The branch, master has been updated
       via  c198e79fa1b398c1f05a85d1d99314b63f05a10d (commit)
      from  d3080c58a18f3f10f3e3372eb6f3ca5f1032dda7 (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 -----------------------------------------------------------------
commit c198e79fa1b398c1f05a85d1d99314b63f05a10d
Author: Simon Josefsson <address@hidden>
Date:   Fri Nov 13 18:06:53 2009 +0100

    Fix syntax-check sc_cast_of_argument_to_free.

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

Summary of changes:
 ChangeLog           |    6 ++++++
 hostname/hostname.c |    2 +-
 inetd/inetd.c       |    2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8b73928..782221e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-11-13  Simon Josefsson  <address@hidden>
+
+       * inetd/inetd.c (nextconfig): Fix syntax-check
+       sc_cast_of_argument_to_free.
+       * hostname/hostname.c (set_name): Likewise.
+
 2009-11-12  Simon Josefsson  <address@hidden>
 
        * bootstrap.conf (gnulib_modules): Add maintainer-makefile, to get
diff --git a/hostname/hostname.c b/hostname/hostname.c
index 271ffd1..9f399f3 100644
--- a/hostname/hostname.c
+++ b/hostname/hostname.c
@@ -225,7 +225,7 @@ set_name (const hostname_arguments *const args)
   if (status == -1)
     error (EXIT_FAILURE, errno, "sethostname");
 
-  free ((void *) hostname_new);
+  free (hostname_new);
   return;
 }
 
diff --git a/inetd/inetd.c b/inetd/inetd.c
index f4637c9..0b6d6d9 100644
--- a/inetd/inetd.c
+++ b/inetd/inetd.c
@@ -1305,7 +1305,7 @@ nextconfig (const char *file)
       if (debug)
        print_service ("FREE", sep);
       freeconfig (sep);
-      free ((char *) sep);
+      free (sep);
     }
   signal_unblock (&sigstatus);
 }


hooks/post-receive
-- 
GNU Inetutils 




reply via email to

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