From 141c863f54acb65aef2cbef2ee426983a85e05fb Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Sun, 2 Jan 2000 13:04:41 +0000 Subject: [PATCH] *** empty log message *** --- backends/server/marshal.pl | 2 ++ backends/sysdeps/.cvsignore | 1 + sysdeps/stub_suid/interfaces.c | 2 ++ 3 files changed, 5 insertions(+) diff --git a/backends/server/marshal.pl b/backends/server/marshal.pl index e86c9f0a..36e15958 100644 --- a/backends/server/marshal.pl +++ b/backends/server/marshal.pl @@ -92,6 +92,8 @@ sub output { $size_code = "\t_LIBGTOP_SEND_len = 0;\n"; $marshal_code = "\t_LIBGTOP_SEND_offset = 0;\n"; $marshal_code .= "\tmemset (_LIBGTOP_SEND_buf, 0, _LIBGTOP_SEND_len);\n"; + $marshal_code .= "\t_LIBGTOP_SEND_ptr = ". + "(char *) _LIBGTOP_SEND_buf;\n"; $first_param_name = ''; $call_param = ''; diff --git a/backends/sysdeps/.cvsignore b/backends/sysdeps/.cvsignore index 09980ae6..a081b16a 100644 --- a/backends/sysdeps/.cvsignore +++ b/backends/sysdeps/.cvsignore @@ -4,3 +4,4 @@ Makefile Makefile.in *.lo *.la +marshal.c diff --git a/sysdeps/stub_suid/interfaces.c b/sysdeps/stub_suid/interfaces.c index a5134816..b9dd54a0 100644 --- a/sysdeps/stub_suid/interfaces.c +++ b/sysdeps/stub_suid/interfaces.c @@ -27,6 +27,8 @@ #include #include +#include + static const unsigned long _glibtop_sysdeps_interface_names = (1L << GLIBTOP_INTERFACE_NAMES_NUMBER) + (1L << GLIBTOP_INTERFACE_NAMES_SIZE);