From 66d8ba2e0b190df9515e5a5c75c4aeda152245ba Mon Sep 17 00:00:00 2001 From: Paul Traina Date: Sat, 29 Oct 1994 22:49:13 +0000 Subject: [PATCH] Fix invalid parameter passing. --- mbone/imm/files/patch-ab | 31 +++++++++++++++++++++++++++++++ net/imm/files/patch-ab | 31 +++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 mbone/imm/files/patch-ab create mode 100644 net/imm/files/patch-ab diff --git a/mbone/imm/files/patch-ab b/mbone/imm/files/patch-ab new file mode 100644 index 000000000000..c01343205043 --- /dev/null +++ b/mbone/imm/files/patch-ab @@ -0,0 +1,31 @@ +*** main.c.orig Fri Mar 4 16:01:13 1994 +--- main.c Sat Oct 29 15:45:04 1994 +*************** +*** 129,135 **** + ClientData clientdata; + Tcl_Interp *interp; + int argc; +! int *argv[]; + { + int transmitflag = FALSE; + int ofp; +--- 129,135 ---- + ClientData clientdata; + Tcl_Interp *interp; + int argc; +! char *argv[]; + { + int transmitflag = FALSE; + int ofp; +*************** +*** 161,166 **** +--- 161,169 ---- + repeatnum,argv[3], argv[1]); + fclose(stdin); + closeall(); ++ #ifndef SIGCLD ++ #define SIGCLD SIGCHLD ++ #endif + signal(SIGCLD,SIG_IGN); + Tcl_DeleteInterp(interp); + if (localhost == NULL) diff --git a/net/imm/files/patch-ab b/net/imm/files/patch-ab new file mode 100644 index 000000000000..c01343205043 --- /dev/null +++ b/net/imm/files/patch-ab @@ -0,0 +1,31 @@ +*** main.c.orig Fri Mar 4 16:01:13 1994 +--- main.c Sat Oct 29 15:45:04 1994 +*************** +*** 129,135 **** + ClientData clientdata; + Tcl_Interp *interp; + int argc; +! int *argv[]; + { + int transmitflag = FALSE; + int ofp; +--- 129,135 ---- + ClientData clientdata; + Tcl_Interp *interp; + int argc; +! char *argv[]; + { + int transmitflag = FALSE; + int ofp; +*************** +*** 161,166 **** +--- 161,169 ---- + repeatnum,argv[3], argv[1]); + fclose(stdin); + closeall(); ++ #ifndef SIGCLD ++ #define SIGCLD SIGCHLD ++ #endif + signal(SIGCLD,SIG_IGN); + Tcl_DeleteInterp(interp); + if (localhost == NULL)