commit-inetutils
[Top][All Lists]
Advanced

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

[SCM] GNU Inetutils branch, master, updated. inetutils-1_8-104-gab1c6c0


From: Alfred M. Szmidt
Subject: [SCM] GNU Inetutils branch, master, updated. inetutils-1_8-104-gab1c6c0
Date: Sat, 18 Jun 2011 16:36:12 +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 ".

The branch, master has been updated
       via  ab1c6c0a9f6ad1aa2eeb45230fe212ee9b2ff59f (commit)
       via  c110c74ddc64e8502830755d9fc33ddcb4445c2a (commit)
       via  67ee421368925464a3c221dc279097e50988efad (commit)
       via  50adb1e3e9e52177d70eba97f00d3e648fdb1046 (commit)
       via  ab40bdd6d6db50b4f9ab621266a7e0331548a2cc (commit)
       via  e6cdeb0a4a304079893b11b63a353ba1f7fc9bec (commit)
       via  eac0b931c1545134d0027301b580c51a3dde8ca0 (commit)
      from  00a01d95c1a288410d79949547cec890549512ff (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=ab1c6c0a9f6ad1aa2eeb45230fe212ee9b2ff59f


commit ab1c6c0a9f6ad1aa2eeb45230fe212ee9b2ff59f
Author: Alfred M. Szmidt <address@hidden>
Date:   Sat Jun 18 16:28:13 2011 +0200

    bootstrap.conf (gnulib_modules): Added mkstemp to list.

diff --git a/ChangeLog b/ChangeLog
index f8e867c..98cbef7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2011-06-18  Alfred M. Szmidt  <address@hidden>
 
+       * bootstrap.conf (gnulib_modules): Added mkstemp to list.
+
+2011-06-18  Alfred M. Szmidt  <address@hidden>
+
        * tests/syslogd.sh: Changed permission on file to be executable.
 
 2011-06-18  Alfred M. Szmidt  <address@hidden>
diff --git a/bootstrap.conf b/bootstrap.conf
index 6d62bbb..f4996bd 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -53,6 +53,7 @@ maintainer-makefile
 malloc-gnu
 mempcpy
 minmax
+mkstemp
 obstack
 poll
 progname

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


commit c110c74ddc64e8502830755d9fc33ddcb4445c2a
Author: Alfred M. Szmidt <address@hidden>
Date:   Sat Jun 18 16:27:22 2011 +0200

    tests/syslogd.sh: Changed permission on file to be executable.

diff --git a/ChangeLog b/ChangeLog
index 3607844..f8e867c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2011-06-18  Alfred M. Szmidt  <address@hidden>
 
+       * tests/syslogd.sh: Changed permission on file to be executable.
+
+2011-06-18  Alfred M. Szmidt  <address@hidden>
+
        * bootstrap.conf (gnulib_modules): Added unused-parameter to list.
 
        * libtelnet/Makefile.am (INCLUDES): Added "-I$(top_srcdir)/lib
diff --git a/tests/syslogd.sh b/tests/syslogd.sh
old mode 100644
new mode 100755

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


commit 67ee421368925464a3c221dc279097e50988efad
Author: Alfred M. Szmidt <address@hidden>
Date:   Sat Jun 18 16:00:25 2011 +0200

    Replaced all usage of ARG_UNUSED with _GL_UNUSED_PARAMETER.

diff --git a/ChangeLog b/ChangeLog
index 2a50f5f..3607844 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,28 @@
 2011-06-18  Alfred M. Szmidt  <address@hidden>
 
+       * bootstrap.conf (gnulib_modules): Added unused-parameter to list.
+
+       * libtelnet/Makefile.am (INCLUDES): Added "-I$(top_srcdir)/lib
+       -I../lib" to list.
+       * src/Makefile.am (INCLUDES): Added -I$(top_builddir)/lib to list.
+
+       * talkd/talkd.c: Include "unused-parameter.h".  Replaced all usage
+       of ARG_UNUSED with _GL_UNUSED_PARAMETER.
+       * talkd/table.c: Likewise.
+       * talk/init_disp.c: Likewise.
+       * src/syslogd.c: Likewise.
+       * src/rlogind.c: Likewise.
+       * src/rlogin.c: Likewise.
+       * src/inetd.c: Likewise.
+       * libtelnet/auth.c: Likewise.
+       * ftpd/server_mode.c: Likewise.
+       * ftpd/ftpd.c: Likewise.
+       * ftp/main.c: Likewise.
+       * ftp/ftp.c: Likewise.
+       * ftp/cmds.c: Likewise.
+
+2011-06-18  Alfred M. Szmidt  <address@hidden>
+
        * whois/whois.h: Replace RETSIGTYPE with void; this is old K&Rism.
        * whois/whois.c: Likewise.
        * telnet/sys_bsd.c (ayt): Likewise.
diff --git a/bootstrap.conf b/bootstrap.conf
index f654fa6..6d62bbb 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -74,6 +74,7 @@ strnlen
 sysexits
 termios
 unistd-safer
+unused-parameter
 update-copyright
 vasnprintf
 version-etc-fsf
diff --git a/ftp/cmds.c b/ftp/cmds.c
index 5004487..f9072f4 100644
--- a/ftp/cmds.c
+++ b/ftp/cmds.c
@@ -85,6 +85,7 @@
 #endif
 
 #include "ftp_var.h"
+#include "unused-parameter.h"
 
 /* Returns true if STR is entirely lower case.  */
 static int
@@ -835,7 +836,7 @@ getit (int argc, char **argv, int restartit, char *mode)
 }
 
 void
-mabort (int signo ARG_UNUSED)
+mabort (int signo _GL_UNUSED_PARAMETER)
 {
   int ointer;
 
diff --git a/ftp/ftp.c b/ftp/ftp.c
index 7aad787..89efaf1 100644
--- a/ftp/ftp.c
+++ b/ftp/ftp.c
@@ -83,6 +83,7 @@
 #include <sys/select.h>
 
 #include "ftp_var.h"
+#include "unused-parameter.h"
 
 #if !HAVE_DECL_FCLOSE
 /* Some systems don't declare fclose in <stdio.h>, so do it ourselves.  */
@@ -342,7 +343,7 @@ login (char *host)
 }
 
 void
-cmdabort (int sig ARG_UNUSED)
+cmdabort (int sig _GL_UNUSED_PARAMETER)
 {
 
   printf ("\n");
diff --git a/ftp/main.c b/ftp/main.c
index 1655e82..5ebfbb7 100644
--- a/ftp/main.c
+++ b/ftp/main.c
@@ -75,6 +75,7 @@
 #include "ftp_var.h"
 
 #include "libinetutils.h"
+#include "unused-parameter.h"
 
 #if HAVE_LIBREADLINE
 # include <readline/readline.h>
@@ -260,13 +261,13 @@ main (int argc, char *argv[])
 }
 
 void
-intr (int sig ARG_UNUSED)
+intr (int sig _GL_UNUSED_PARAMETER)
 {
   longjmp (toplevel, 1);
 }
 
 void
-lostpeer (int sig ARG_UNUSED)
+lostpeer (int sig _GL_UNUSED_PARAMETER)
 {
   if (connected)
     {
diff --git a/ftpd/ftpd.c b/ftpd/ftpd.c
index 711acaa..1d87bd3 100644
--- a/ftpd/ftpd.c
+++ b/ftpd/ftpd.c
@@ -102,6 +102,7 @@
 #include <progname.h>
 #include <libinetutils.h>
 #include "extern.h"
+#include "unused-parameter.h"
 
 #ifndef LINE_MAX
 # define LINE_MAX 2048
@@ -584,7 +585,7 @@ sigquit (int signo)
 
 
 static void
-lostconn (int signo ARG_UNUSED)
+lostconn (int signo _GL_UNUSED_PARAMETER)
 {
   if (debug)
     syslog (LOG_DEBUG, "lost connection");
@@ -1685,7 +1686,7 @@ dologout (int status)
 }
 
 static void
-myoob (int signo ARG_UNUSED)
+myoob (int signo _GL_UNUSED_PARAMETER)
 {
   char *cp;
 
diff --git a/ftpd/server_mode.c b/ftpd/server_mode.c
index 68902b7..9e166ab 100644
--- a/ftpd/server_mode.c
+++ b/ftpd/server_mode.c
@@ -38,6 +38,7 @@
 #endif
 
 #include <libinetutils.h>
+#include "unused-parameter.h"
 
 static void reapchild (int);
 
@@ -84,7 +85,7 @@ check_host (struct sockaddr *sa)
 #endif
 
 static void
-reapchild (int signo ARG_UNUSED)
+reapchild (int signo _GL_UNUSED_PARAMETER)
 {
   int save_errno = errno;
 
diff --git a/libtelnet/Makefile.am b/libtelnet/Makefile.am
index ef829e2..f5381cd 100644
--- a/libtelnet/Makefile.am
+++ b/libtelnet/Makefile.am
@@ -17,7 +17,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see `http://www.gnu.org/licenses/'.
 
-INCLUDES = $(INCAUTH)
+INCLUDES = $(INCAUTH) -I$(top_srcdir)/lib -I../lib
 
 noinst_LIBRARIES = libtelnet.a
 
diff --git a/libtelnet/auth.c b/libtelnet/auth.c
index 654004f..eab5458 100644
--- a/libtelnet/auth.c
+++ b/libtelnet/auth.c
@@ -69,6 +69,8 @@
 
 #include <config.h>
 
+#include "unused-parameter.h"
+
 #if defined AUTHENTICATION
 # include <stdio.h>
 # include <sys/types.h>
@@ -650,7 +652,7 @@ auth_finished (TN_Authenticator * ap, int result)
 }
 
 static void
-auth_intr (int sig ARG_UNUSED)
+auth_intr (int sig _GL_UNUSED_PARAMETER)
 {
   auth_finished (0, AUTH_REJECT);
 }
diff --git a/src/Makefile.am b/src/Makefile.am
index 796e3ec..23ab642 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -85,7 +85,7 @@ inetdaemon_PROGRAMS += @uucpd_BUILD@
 uucpd_SOURCES = uucpd.c
 EXTRA_PROGRAMS += uucpd
 
-INCLUDES = -I$(top_srcdir)/lib \
+INCLUDES = -I$(top_srcdir)/lib -I$(top_builddir)/lib \
        -I$(top_srcdir)/libinetutils \
        -I$(top_srcdir)/libicmp
 
diff --git a/src/inetd.c b/src/inetd.c
index 39a4e5d..7fb1216 100644
--- a/src/inetd.c
+++ b/src/inetd.c
@@ -136,6 +136,7 @@
 #include "libinetutils.h"
 #include "argcv.h"
 #include "version-etc.h"
+#include "unused-parameter.h"
 
 #ifndef EAI_ADDRFAMILY
 # define EAI_ADDRFAMILY 1
@@ -461,7 +462,7 @@ run_service (int ctrl, struct servtab *sep)
 }
 
 void
-reapchild (int signo ARG_UNUSED)
+reapchild (int signo _GL_UNUSED_PARAMETER)
 {
   int status;
   pid_t pid;
@@ -647,7 +648,7 @@ servent_setup (struct servtab *sep)
 }
 
 void
-retry (int signo ARG_UNUSED)
+retry (int signo _GL_UNUSED_PARAMETER)
 {
   struct servtab *sep;
 
diff --git a/src/rlogin.c b/src/rlogin.c
index 7cf319b..aca8c23 100644
--- a/src/rlogin.c
+++ b/src/rlogin.c
@@ -102,6 +102,7 @@
 
 #include <progname.h>
 #include "libinetutils.h"
+#include "unused-parameter.h"
 
 #ifdef SHISHI
 # define REALM_SZ 1040
@@ -817,7 +818,7 @@ int dosigwinch;
  * request to turn on the window-changing protocol.
  */
 void
-writeroob (int signo ARG_UNUSED)
+writeroob (int signo _GL_UNUSED_PARAMETER)
 {
   if (dosigwinch == 0)
     {
@@ -828,7 +829,7 @@ writeroob (int signo ARG_UNUSED)
 }
 
 void
-catch_child (int signo ARG_UNUSED)
+catch_child (int signo _GL_UNUSED_PARAMETER)
 {
   int status;
   pid_t pid;
@@ -991,7 +992,7 @@ stop (char cmdc)
 }
 
 void
-sigwinch (int signo ARG_UNUSED)
+sigwinch (int signo _GL_UNUSED_PARAMETER)
 {
   struct winsize ws;
 
@@ -1048,7 +1049,7 @@ int rcvcnt, rcvstate;
 char rcvbuf[8 * 1024];
 
 void
-oob (int signo ARG_UNUSED)
+oob (int signo _GL_UNUSED_PARAMETER)
 {
   char mark;
   struct termios tt;
@@ -1258,7 +1259,7 @@ mode (int f)
 }
 
 void
-lostpeer (int signo ARG_UNUSED)
+lostpeer (int signo _GL_UNUSED_PARAMETER)
 {
   setsig (SIGPIPE, SIG_IGN);
   error (0, 0, "\007connection closed.");
@@ -1267,7 +1268,7 @@ lostpeer (int signo ARG_UNUSED)
 
 /* copy SIGURGs to the child process. */
 void
-copytochild (int signo ARG_UNUSED)
+copytochild (int signo _GL_UNUSED_PARAMETER)
 {
   kill (child, SIGURG);
 }
diff --git a/src/rlogind.c b/src/rlogind.c
index 167c8d8..6a0f08b 100644
--- a/src/rlogind.c
+++ b/src/rlogind.c
@@ -69,6 +69,7 @@
 #include <progname.h>
 #include <argp.h>
 #include <libinetutils.h>
+#include "unused-parameter.h"
 
 /*
   The TIOCPKT_* macros may not be implemented in the pty driver.
@@ -1476,7 +1477,7 @@ control (int pty, char *cp, size_t n)
 }
 
 void
-cleanup (int signo ARG_UNUSED)
+cleanup (int signo _GL_UNUSED_PARAMETER)
 {
   char *p;
 
diff --git a/src/syslogd.c b/src/syslogd.c
index e9d32e6..305655c 100644
--- a/src/syslogd.c
+++ b/src/syslogd.c
@@ -120,6 +120,7 @@
 #include <progname.h>
 #include <libinetutils.h>
 #include <readutmp.h>
+#include "unused-parameter.h"
 
 /* A mask of all facilities mentioned explicitly in the configuration file
  *
@@ -1458,7 +1459,7 @@ cvthname (struct sockaddr_in *f)
 }
 
 void
-domark (int signo ARG_UNUSED)
+domark (int signo _GL_UNUSED_PARAMETER)
 {
   struct filed *f;
 
@@ -1503,7 +1504,7 @@ logerror (const char *type)
 }
 
 void
-doexit (int signo ARG_UNUSED)
+doexit (int signo _GL_UNUSED_PARAMETER)
 {
   _exit (0);
 }
@@ -1552,7 +1553,7 @@ die (int signo)
 
 /* INIT -- Initialize syslogd from configuration table.  */
 void
-init (int signo ARG_UNUSED)
+init (int signo _GL_UNUSED_PARAMETER)
 {
   FILE *cf;
   struct filed *f, *next, **nextp;
@@ -2021,7 +2022,7 @@ decode (const char *name, CODE * codetab)
 }
 
 void
-dbg_toggle (int signo ARG_UNUSED)
+dbg_toggle (int signo _GL_UNUSED_PARAMETER)
 {
   int dbg_save = dbg_output;
 
@@ -2053,7 +2054,7 @@ dbg_printf (const char *fmt, ...)
    set a flag variable which will tell the main loop to go through a
    restart.  */
 void
-trigger_restart (int signo ARG_UNUSED)
+trigger_restart (int signo _GL_UNUSED_PARAMETER)
 {
   restart = 1;
 }
diff --git a/talk/init_disp.c b/talk/init_disp.c
index 0accccf..c70cc61 100644
--- a/talk/init_disp.c
+++ b/talk/init_disp.c
@@ -61,9 +61,10 @@
 #include <signal.h>
 #include <error.h>
 #include "talk.h"
+#include "unused-parameter.h"
 
 static void
-sig_sent (int sig ARG_UNUSED)
+sig_sent (int sig _GL_UNUSED_PARAMETER)
 {
 
   message ("Connection closing. Exiting");
diff --git a/talkd/table.c b/talkd/table.c
index 3517d50..aad408d 100644
--- a/talkd/table.c
+++ b/talkd/table.c
@@ -21,6 +21,7 @@
 #include <config.h>
 
 #include <intalkd.h>
+#include "unused-parameter.h"
 
 typedef struct request_table table_t;
 
@@ -91,7 +92,8 @@ lookup_request (CTL_MSG * request,
 }
 
 static int
-fuzzy_comp (table_t * ptr, CTL_MSG * request, time_t * unused ARG_UNUSED)
+fuzzy_comp (table_t * ptr, CTL_MSG * request,
+           time_t * unused _GL_UNUSED_PARAMETER)
 {
   if (ptr->request.type == LEAVE_INVITE
       && strcmp (request->l_name, ptr->request.r_name) == 0
diff --git a/talkd/talkd.c b/talkd/talkd.c
index c279a7d..060fb84 100644
--- a/talkd/talkd.c
+++ b/talkd/talkd.c
@@ -24,6 +24,7 @@
 #include <signal.h>
 #include <libinetutils.h>
 #include <progname.h>
+#include "unused-parameter.h"
 
 #ifndef LOG_FACILITY
 # define LOG_FACILITY LOG_DAEMON
@@ -123,7 +124,7 @@ talkd_init (void)
 time_t last_msg_time;
 
 static void
-alarm_handler (int err ARG_UNUSED)
+alarm_handler (int err _GL_UNUSED_PARAMETER)
 {
   if ((time (NULL) - last_msg_time) >= max_idle_time)
     exit (EXIT_SUCCESS);

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


commit 50adb1e3e9e52177d70eba97f00d3e648fdb1046
Author: Alfred M. Szmidt <address@hidden>
Date:   Sat Jun 18 15:19:16 2011 +0200

    Replace RETSIGTYPE with void; this is old K&Rism.

diff --git a/ChangeLog b/ChangeLog
index cf64cab..2a50f5f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,23 @@
 2011-06-18  Alfred M. Szmidt  <address@hidden>
 
+       * whois/whois.h: Replace RETSIGTYPE with void; this is old K&Rism.
+       * whois/whois.c: Likewise.
+       * telnet/sys_bsd.c (ayt): Likewise.
+       * talk/invite.c (re_invite): Likewise.
+       * talk/init_disp.c (sig_sent): Likewise.
+       * src/syslogd.c (trigger_restart): Likewise.
+       * src/rsh.c: Likewise.
+       * src/rlogind.c (cleanup): Likewise.
+       * src/rlogin.c (copytochild): Likewise.
+       * src/rcp.c (lostconn): Likewise.
+       * src/inetd.c (signal_set_handler): Likewise.
+       * ping/ping6.c (sig_int): Likewise.
+       * ping/ping.c (sig_int): Likewise.
+       * libtelnet/auth.c (auth_intr): Likewise.
+       * libinetutils/daemon.c (waitdaemon_timeout): Likewise.
+
+2011-06-18  Alfred M. Szmidt  <address@hidden>
+
        * bootstrap.conf (gnulib_modules): Use malloc-gnu and realloc-gnu
        instead of the old malloc and realloc modules.
 
diff --git a/ftp/cmds.c b/ftp/cmds.c
index 58dd5a6..5004487 100644
--- a/ftp/cmds.c
+++ b/ftp/cmds.c
@@ -834,7 +834,7 @@ getit (int argc, char **argv, int restartit, char *mode)
   return (0);
 }
 
-RETSIGTYPE
+void
 mabort (int signo ARG_UNUSED)
 {
   int ointer;
diff --git a/ftp/ftp.c b/ftp/ftp.c
index ecf4e67..7aad787 100644
--- a/ftp/ftp.c
+++ b/ftp/ftp.c
@@ -341,7 +341,7 @@ login (char *host)
   return (1);
 }
 
-RETSIGTYPE
+void
 cmdabort (int sig ARG_UNUSED)
 {
 
diff --git a/ftp/main.c b/ftp/main.c
index 38e36f0..1655e82 100644
--- a/ftp/main.c
+++ b/ftp/main.c
@@ -259,13 +259,13 @@ main (int argc, char *argv[])
     }
 }
 
-RETSIGTYPE
+void
 intr (int sig ARG_UNUSED)
 {
   longjmp (toplevel, 1);
 }
 
-RETSIGTYPE
+void
 lostpeer (int sig ARG_UNUSED)
 {
   if (connected)
diff --git a/ftpd/ftpd.c b/ftpd/ftpd.c
index b4bf1c7..711acaa 100644
--- a/ftpd/ftpd.c
+++ b/ftpd/ftpd.c
@@ -575,7 +575,7 @@ curdir (void)
   return (cred.guest ? path + 1 : path);
 }
 
-static RETSIGTYPE
+static void
 sigquit (int signo)
 {
   syslog (LOG_ERR, "got signal %s", strsignal (signo));
@@ -583,7 +583,7 @@ sigquit (int signo)
 }
 
 
-static RETSIGTYPE
+static void
 lostconn (int signo ARG_UNUSED)
 {
   if (debug)
@@ -1684,7 +1684,7 @@ dologout (int status)
   _exit (status);
 }
 
-static RETSIGTYPE
+static void
 myoob (int signo ARG_UNUSED)
 {
   char *cp;
diff --git a/ftpd/server_mode.c b/ftpd/server_mode.c
index 89e11a0..68902b7 100644
--- a/ftpd/server_mode.c
+++ b/ftpd/server_mode.c
@@ -83,7 +83,7 @@ check_host (struct sockaddr *sa)
 }
 #endif
 
-static RETSIGTYPE
+static void
 reapchild (int signo ARG_UNUSED)
 {
   int save_errno = errno;
diff --git a/libinetutils/daemon.c b/libinetutils/daemon.c
index 92a8091..f9c29cf 100644
--- a/libinetutils/daemon.c
+++ b/libinetutils/daemon.c
@@ -104,7 +104,7 @@
 
 #define MAXFD 64
 
-RETSIGTYPE
+void
 waitdaemon_timeout (int signo)
 {
   int left;
diff --git a/libtelnet/auth.c b/libtelnet/auth.c
index 831434c..654004f 100644
--- a/libtelnet/auth.c
+++ b/libtelnet/auth.c
@@ -649,7 +649,7 @@ auth_finished (TN_Authenticator * ap, int result)
   validuser = result;
 }
 
-static RETSIGTYPE
+static void
 auth_intr (int sig ARG_UNUSED)
 {
   auth_finished (0, AUTH_REJECT);
diff --git a/ping/ping.c b/ping/ping.c
index 826c0ec..9319a47 100644
--- a/ping/ping.c
+++ b/ping/ping.c
@@ -302,7 +302,7 @@ int (*decode_type (const char *arg)) (char *hostname)
 
 int volatile stop = 0;
 
-RETSIGTYPE
+void
 sig_int (int signal)
 {
   stop = 1;
diff --git a/ping/ping6.c b/ping/ping6.c
index 7d38396..2fcc9a4 100644
--- a/ping/ping6.c
+++ b/ping/ping6.c
@@ -258,7 +258,7 @@ ipaddr2str (struct sockaddr_in6 *from)
 
 static volatile int stop = 0;
 
-static RETSIGTYPE
+static void
 sig_int (int signal)
 {
   stop = 1;
diff --git a/src/inetd.c b/src/inetd.c
index 9aa76cd..39a4e5d 100644
--- a/src/inetd.c
+++ b/src/inetd.c
@@ -350,7 +350,7 @@ bi_lookup (const struct servtab *sep)
 #endif
 
 void
-signal_set_handler (int signo, RETSIGTYPE (*handler) ())
+signal_set_handler (int signo, void (*handler) ())
 {
 #if defined HAVE_SIGACTION
   struct sigaction sa;
diff --git a/src/rcp.c b/src/rcp.c
index a05145a..a89ed91 100644
--- a/src/rcp.c
+++ b/src/rcp.c
@@ -1222,7 +1222,7 @@ allocbuf (BUF * bp, int fd, int blksize)
   return (bp);
 }
 
-RETSIGTYPE
+void
 lostconn (int signo)
 {
   if (!iamremote)
diff --git a/src/rlogin.c b/src/rlogin.c
index f709bd4..7cf319b 100644
--- a/src/rlogin.c
+++ b/src/rlogin.c
@@ -186,24 +186,24 @@ int get_window_size (int, struct winsize *);
 #endif
 struct winsize winsize;
 
-RETSIGTYPE catch_child (int);
-RETSIGTYPE copytochild (int);
+void catch_child (int);
+void copytochild (int);
 void doit (sigset_t *);
 void done (int);
 void echo (char);
 u_int getescape (char *);
-RETSIGTYPE lostpeer (int);
+void lostpeer (int);
 void mode (int);
-RETSIGTYPE oob (int);
+void oob (int);
 int reader (sigset_t *);
 void sendwindow (void);
 void setsignal (int);
 int speed (int);
 unsigned int speed_translate (unsigned int);
-RETSIGTYPE sigwinch (int);
+void sigwinch (int);
 void stop (char);
 void writer (void);
-RETSIGTYPE writeroob (int);
+void writeroob (int);
 
 #if defined KERBEROS || defined SHISHI
 void warning (const char *, ...);
@@ -816,7 +816,7 @@ int dosigwinch;
  * This is called when the reader process gets the out-of-band (urgent)
  * request to turn on the window-changing protocol.
  */
-RETSIGTYPE
+void
 writeroob (int signo ARG_UNUSED)
 {
   if (dosigwinch == 0)
@@ -827,7 +827,7 @@ writeroob (int signo ARG_UNUSED)
   dosigwinch = 1;
 }
 
-RETSIGTYPE
+void
 catch_child (int signo ARG_UNUSED)
 {
   int status;
@@ -990,7 +990,7 @@ stop (char cmdc)
   sigwinch (0);                        /* check for size changes */
 }
 
-RETSIGTYPE
+void
 sigwinch (int signo ARG_UNUSED)
 {
   struct winsize ws;
@@ -1047,7 +1047,7 @@ pid_t ppid;
 int rcvcnt, rcvstate;
 char rcvbuf[8 * 1024];
 
-RETSIGTYPE
+void
 oob (int signo ARG_UNUSED)
 {
   char mark;
@@ -1257,7 +1257,7 @@ mode (int f)
     }
 }
 
-RETSIGTYPE
+void
 lostpeer (int signo ARG_UNUSED)
 {
   setsig (SIGPIPE, SIG_IGN);
@@ -1266,7 +1266,7 @@ lostpeer (int signo ARG_UNUSED)
 }
 
 /* copy SIGURGs to the child process. */
-RETSIGTYPE
+void
 copytochild (int signo ARG_UNUSED)
 {
   kill (child, SIGURG);
diff --git a/src/rlogind.c b/src/rlogind.c
index eda944c..167c8d8 100644
--- a/src/rlogind.c
+++ b/src/rlogind.c
@@ -194,12 +194,12 @@ int do_krb_login (int infd, struct auth_data *ap, const 
char **msg);
 void getstr (int infd, char **ptr, const char *prefix);
 void protocol (int f, int p, struct auth_data *ap);
 int control (int pty, char *cp, size_t n);
-RETSIGTYPE cleanup (int signo);
+void cleanup (int signo);
 void fatal (int f, const char *msg, int syserr);
 int in_local_domain (char *hostname);
 char *topdomain (char *name, int max_dots);
 
-RETSIGTYPE
+void
 rlogind_sigchld (int sig)
 {
   pid_t pid;
@@ -1475,7 +1475,7 @@ control (int pty, char *cp, size_t n)
   return (4 + sizeof w);
 }
 
-RETSIGTYPE
+void
 cleanup (int signo ARG_UNUSED)
 {
   char *p;
diff --git a/src/rsh.c b/src/rsh.c
index dbb6c36..4a50927 100644
--- a/src/rsh.c
+++ b/src/rsh.c
@@ -115,7 +115,7 @@ int wlen;
 int rfd2;
 
 char *copyargs (char **);
-RETSIGTYPE sendsig (int);
+void sendsig (int);
 void talk (int, sigset_t *, pid_t, int);
 void warning (const char *, ...);
 
diff --git a/src/syslogd.c b/src/syslogd.c
index 3630473..e9d32e6 100644
--- a/src/syslogd.c
+++ b/src/syslogd.c
@@ -1502,13 +1502,13 @@ logerror (const char *type)
   logmsg (LOG_SYSLOG | LOG_ERR, buf, LocalHostName, ADDDATE);
 }
 
-RETSIGTYPE
+void
 doexit (int signo ARG_UNUSED)
 {
   _exit (0);
 }
 
-RETSIGTYPE
+void
 die (int signo)
 {
   struct filed *f;
@@ -1551,7 +1551,7 @@ die (int signo)
 }
 
 /* INIT -- Initialize syslogd from configuration table.  */
-RETSIGTYPE
+void
 init (int signo ARG_UNUSED)
 {
   FILE *cf;
@@ -2020,7 +2020,7 @@ decode (const char *name, CODE * codetab)
   return -1;
 }
 
-RETSIGTYPE
+void
 dbg_toggle (int signo ARG_UNUSED)
 {
   int dbg_save = dbg_output;
@@ -2052,7 +2052,7 @@ dbg_printf (const char *fmt, ...)
    not being doing this during a signal handler.  Instead we simply
    set a flag variable which will tell the main loop to go through a
    restart.  */
-RETSIGTYPE
+void
 trigger_restart (int signo ARG_UNUSED)
 {
   restart = 1;
diff --git a/talk/init_disp.c b/talk/init_disp.c
index a71765e..0accccf 100644
--- a/talk/init_disp.c
+++ b/talk/init_disp.c
@@ -62,7 +62,7 @@
 #include <error.h>
 #include "talk.h"
 
-static RETSIGTYPE
+static void
 sig_sent (int sig ARG_UNUSED)
 {
 
diff --git a/talk/invite.c b/talk/invite.c
index dbf6280..b985a80 100644
--- a/talk/invite.c
+++ b/talk/invite.c
@@ -114,7 +114,7 @@ announce_invite (void)
 /*
  * Routine called on interupt to re-invite the callee
  */
-RETSIGTYPE
+void
 re_invite (int sig)
 {
 
diff --git a/telnet/sys_bsd.c b/telnet/sys_bsd.c
index 2b01282..fc14211 100644
--- a/telnet/sys_bsd.c
+++ b/telnet/sys_bsd.c
@@ -71,7 +71,7 @@
 #include "types.h"
 
 #ifdef SIGINFO
-extern RETSIGTYPE ayt_status ();
+extern void ayt_status ();
 #endif
 
 int tout,                      /* Output file descriptor */
@@ -671,10 +671,10 @@ TerminalNewMode (register int f)
   if (f != -1)
     {
 #ifdef SIGTSTP
-      RETSIGTYPE susp (int sig);
+      void susp (int sig);
 #endif /* SIGTSTP */
 #ifdef SIGINFO
-      RETSIGTYPE ayt ();
+      void ayt ();
 #endif
 
 #ifdef SIGTSTP
@@ -726,7 +726,7 @@ TerminalNewMode (register int f)
   else
     {
 #ifdef SIGINFO
-      RETSIGTYPE ayt_status ();
+      void ayt_status ();
 
       signal (SIGINFO, ayt_status);
 #endif
@@ -938,7 +938,7 @@ NetSetPgrp (int fd)
  * Various signal handling routines.
  */
 
-RETSIGTYPE
+void
 deadpeer (int sig)
 {
   setcommandmode ();
@@ -946,7 +946,7 @@ deadpeer (int sig)
 }
 
 
-RETSIGTYPE
+void
 intr (int sig)
 {
   if (localchars)
@@ -959,7 +959,7 @@ intr (int sig)
 }
 
 
-RETSIGTYPE
+void
 intr2 (int sig)
 {
   if (localchars)
@@ -975,7 +975,7 @@ intr2 (int sig)
 }
 
 #ifdef SIGTSTP
-RETSIGTYPE
+void
 susp (int sig)
 {
   if ((rlogin != _POSIX_VDISABLE) && rlogin_susp ())
@@ -986,7 +986,7 @@ susp (int sig)
 #endif
 
 #ifdef SIGWINCH
-RETSIGTYPE
+void
 sendwin (int sig)
 {
   if (connected)
@@ -997,7 +997,7 @@ sendwin (int sig)
 #endif
 
 #ifdef SIGINFO
-RETSIGTYPE
+void
 ayt (int sig)
 {
   if (connected)
diff --git a/whois/whois.c b/whois/whois.c
index f2cb2b2..88d5a75 100644
--- a/whois/whois.c
+++ b/whois/whois.c
@@ -588,7 +588,7 @@ closeconn (const int fd)
   close (fd);
 }
 
-RETSIGTYPE
+void
 sighandler (int signum)
 {
   closeconn (sockfd);
diff --git a/whois/whois.h b/whois/whois.h
index 372eeaf..c83b04d 100644
--- a/whois/whois.h
+++ b/whois/whois.h
@@ -61,7 +61,7 @@ void do_query (const int, const char *);
 const char *query_crsnic (const int, const char *);
 int openconn (const char *, const char *);
 void closeconn (const int);
-RETSIGTYPE sighandler (int);
+void sighandler (int);
 unsigned long myinet_aton (const char *);
 int domcmp (const char *, const char *);
 int domfind (const char *, const char *[]);

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


commit ab40bdd6d6db50b4f9ab621266a7e0331548a2cc
Author: Alfred M. Szmidt <address@hidden>
Date:   Sat Jun 18 14:41:03 2011 +0200

    bootstrap.conf (gnulib_modules): Use malloc-gnu and realloc-gnu instead of 
the old malloc and realloc modules.

diff --git a/ChangeLog b/ChangeLog
index ab2d5db..cf64cab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-18  Alfred M. Szmidt  <address@hidden>
+
+       * bootstrap.conf (gnulib_modules): Use malloc-gnu and realloc-gnu
+       instead of the old malloc and realloc modules.
+
 2011-06-17  Alfred M. Szmidt  <address@hidden>
 
        * libinetutils/libinetutils.h: Don't include <config.h>; instead
diff --git a/bootstrap.conf b/bootstrap.conf
index f770785..f654fa6 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -50,7 +50,7 @@ glob
 gnupload
 inttostr
 maintainer-makefile
-malloc
+malloc-gnu
 mempcpy
 minmax
 obstack
@@ -59,7 +59,7 @@ progname
 read-file
 readline
 readutmp
-realloc
+realloc-gnu
 regex
 setenv
 signal

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


commit e6cdeb0a4a304079893b11b63a353ba1f7fc9bec
Author: Alfred M. Szmidt <address@hidden>
Date:   Sat Jun 18 14:27:04 2011 +0200

    libinetutils/libinetutils.h: Don't include <config.h>; instead produce
    an error if we haven't included it.

diff --git a/ChangeLog b/ChangeLog
index 590361a..ab2d5db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-06-17  Alfred M. Szmidt  <address@hidden>
 
+       * libinetutils/libinetutils.h: Don't include <config.h>; instead
+       produce an error if we haven't included it.
+
+2011-06-17  Alfred M. Szmidt  <address@hidden>
+
        * bootstrap.conf (gnulib_modules): Added signal to list.
 
 2011-06-16  Simon Josefsson  <address@hidden>
diff --git a/libinetutils/libinetutils.h b/libinetutils/libinetutils.h
index 8cfe792..56174e1 100644
--- a/libinetutils/libinetutils.h
+++ b/libinetutils/libinetutils.h
@@ -17,7 +17,9 @@
   You should have received a copy of the GNU General Public License
   along with this program.  If not, see `http://www.gnu.org/licenses/'. */
 
-#include <config.h>
+#ifndef HAVE_CONFIG_H
+#error "<config.h> has not been included; please included it"
+#endif
 
 #include "argp-version-etc.h"
 

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


commit eac0b931c1545134d0027301b580c51a3dde8ca0
Author: Alfred M. Szmidt <address@hidden>
Date:   Sat Jun 18 14:26:24 2011 +0200

    bootstrap.conf (gnulib_modules): Added signal to list.

diff --git a/ChangeLog b/ChangeLog
index 60cf0ee..590361a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-17  Alfred M. Szmidt  <address@hidden>
+
+       * bootstrap.conf (gnulib_modules): Added signal to list.
+
 2011-06-16  Simon Josefsson  <address@hidden>
 
        * configure.ac: Don't check for sig_t.
diff --git a/bootstrap.conf b/bootstrap.conf
index 880ce11..f770785 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -62,6 +62,7 @@ readutmp
 realloc
 regex
 setenv
+signal
 size_max
 snprintf
 stdbool

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

Summary of changes:
 ChangeLog                   |   63 +++++++++++++++++++++++++++++++++++++++++++
 bootstrap.conf              |    7 +++-
 ftp/cmds.c                  |    5 ++-
 ftp/ftp.c                   |    5 ++-
 ftp/main.c                  |    9 +++---
 ftpd/ftpd.c                 |   11 ++++---
 ftpd/server_mode.c          |    5 ++-
 libinetutils/daemon.c       |    2 +-
 libinetutils/libinetutils.h |    4 ++-
 libtelnet/Makefile.am       |    2 +-
 libtelnet/auth.c            |    6 +++-
 ping/ping.c                 |    2 +-
 ping/ping6.c                |    2 +-
 src/Makefile.am             |    2 +-
 src/inetd.c                 |    7 +++--
 src/rcp.c                   |    2 +-
 src/rlogin.c                |   37 +++++++++++++------------
 src/rlogind.c               |    9 +++---
 src/rsh.c                   |    2 +-
 src/syslogd.c               |   21 +++++++-------
 talk/init_disp.c            |    5 ++-
 talk/invite.c               |    2 +-
 talkd/table.c               |    4 ++-
 talkd/talkd.c               |    3 +-
 telnet/sys_bsd.c            |   20 +++++++-------
 whois/whois.c               |    2 +-
 whois/whois.h               |    2 +-
 27 files changed, 162 insertions(+), 79 deletions(-)
 mode change 100644 => 100755 tests/syslogd.sh


hooks/post-receive
-- 
GNU Inetutils 



reply via email to

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