diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1998-05-25 23:23:36 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1998-05-25 23:23:36 +0000 |
commit | 721685a75951a3194d0d12e4096185dbd76b379c (patch) | |
tree | 85d96e92468c3e284d56a6b0bdcec9e88832ddb1 /net/icb/files/patch-o-ad | |
parent | MASTER_SITE_SUBDIR should have neither a leading nor a trailing slash. (diff) |
Internet CB - a chat client
Notes
Notes:
svn path=/head/; revision=11144
Diffstat (limited to 'net/icb/files/patch-o-ad')
-rw-r--r-- | net/icb/files/patch-o-ad | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net/icb/files/patch-o-ad b/net/icb/files/patch-o-ad new file mode 100644 index 000000000000..f50110f139d6 --- /dev/null +++ b/net/icb/files/patch-o-ad @@ -0,0 +1,36 @@ +*** tcl/tclCmdAH.c.orig Sat Feb 25 03:19:53 1995 +--- tcl/tclCmdAH.c Wed May 6 18:54:07 1998 +*************** +*** 38,45 **** +--- 38,51 ---- + #include <sys/wait.h> + #include "tclInt.h" + ++ #if (defined(__unix__) || defined(unix)) && !defined(USG) ++ #include <sys/param.h> ++ #endif ++ + extern int errno; ++ #if !(defined(BSD) && BSD >= 199306) + extern long lseek(); ++ #endif + extern char *mktemp(); + + /* +*************** +*** 627,633 **** + while (1) { + int child; + +! child = wait(&status); + if (child == -1) { + sprintf(interp->result, + "child process disappeared mysteriously"); +--- 633,639 ---- + while (1) { + int child; + +! child = wait((int *)&status); + if (child == -1) { + sprintf(interp->result, + "child process disappeared mysteriously"); |