2001-08-14 18:41:16 +00:00
|
|
|
--- ./zvt/gnome-pty-helper.c.org Sat Mar 18 02:57:13 2000
|
|
|
|
+++ ./zvt/gnome-pty-helper.c Sun Aug 5 11:37:41 2001
|
2000-03-11 01:52:48 +00:00
|
|
|
@@ -41,6 +41,7 @@
|
|
|
|
#include <limits.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <string.h>
|
2000-03-22 23:26:35 +00:00
|
|
|
+#include <sys/param.h>
|
2000-03-11 01:52:48 +00:00
|
|
|
#include <signal.h>
|
|
|
|
#include <fcntl.h>
|
|
|
|
#include <termios.h>
|
2001-08-14 18:41:16 +00:00
|
|
|
@@ -115,7 +116,7 @@
|
|
|
|
#endif
|
|
|
|
#endif /* CMSG_DATA */
|
|
|
|
|
|
|
|
-#define CONTROLLEN (sizeof (struct cmsghdr) + sizeof (int))
|
|
|
|
+#define CONTROLLEN (sizeof (struct cmsghdr) + sizeof (long))
|
|
|
|
|
|
|
|
static struct cmsghdr *cmptr;
|
|
|
|
|
|
|
|
--- ./zvt/subshell.c.org Mon May 22 17:24:16 2000
|
|
|
|
+++ ./zvt/subshell.c Sun Aug 5 11:35:50 2001
|
|
|
|
@@ -102,7 +102,7 @@
|
|
|
|
#endif /* CMSG_DATA */
|
|
|
|
|
|
|
|
static struct cmsghdr *cmptr;
|
|
|
|
-#define CONTROLLEN sizeof (struct cmsghdr) + sizeof (int)
|
|
|
|
+#define CONTROLLEN sizeof (struct cmsghdr) + sizeof (long)
|
|
|
|
|
|
|
|
static int
|
|
|
|
receive_fd (int helper_fd)
|