From f7b69ebfae0a330808c18f56a2eb4c2c7ebde088 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Thu, 13 Jan 2000 01:25:55 +0000 Subject: [PATCH] *** empty log message *** --- backends/common/Makefile.am | 3 ++- backends/server/Makefile.am | 13 +++++++------ backends/sysdeps/Makefile.am | 2 +- sysdeps/linux/procargs.c | 2 +- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/backends/common/Makefile.am b/backends/common/Makefile.am index 79e7c8a5..d4bd477f 100644 --- a/backends/common/Makefile.am +++ b/backends/common/Makefile.am @@ -24,7 +24,8 @@ BUILT_SOURCES = \ marshal.c EXTRA_DIST = \ - marshal.pl + marshal.pl \ + libgtop-common.backend CLEANFILES = $(BUILT_SOURCES) diff --git a/backends/server/Makefile.am b/backends/server/Makefile.am index 4d54202a..8c873299 100644 --- a/backends/server/Makefile.am +++ b/backends/server/Makefile.am @@ -50,15 +50,16 @@ libgtop_server_LDFLAGS = -static endif BUILT_SOURCES = \ - marshal.c \ - demarshal.c \ + marshal.c \ + demarshal.c \ command.h EXTRA_DIST = \ - marshal.pl \ - demarshal.pl \ - command.pl \ - command.h.in + marshal.pl \ + demarshal.pl \ + command.pl \ + command.h.in \ + libgtop-server.backend CLEANFILES = $(BUILT_SOURCES) diff --git a/backends/sysdeps/Makefile.am b/backends/sysdeps/Makefile.am index bdf91159..e4e8887a 100644 --- a/backends/sysdeps/Makefile.am +++ b/backends/sysdeps/Makefile.am @@ -25,7 +25,7 @@ BUILT_SOURCES = \ EXTRA_DIST = \ marshal.pl \ - libgtop-server.backend + libgtop-sysdeps.backend CLEANFILES = $(BUILT_SOURCES) diff --git a/sysdeps/linux/procargs.c b/sysdeps/linux/procargs.c index 880c91b5..86d4cfb1 100644 --- a/sysdeps/linux/procargs.c +++ b/sysdeps/linux/procargs.c @@ -47,7 +47,7 @@ char ** glibtop_get_proc_args_s (glibtop *server, glibtop_array *array, pid_t pid) { char fn [BUFSIZ], buffer [BUFSIZ], *ptr = NULL, *pos, **ptrlist; - size_t count = 0, max_len, total, len; + size_t count = 0, max_len, total = 0, len; int cmdline, i; glibtop_init_s (&server, GLIBTOP_SYSDEPS_PROC_ARGS, 0);