summaryrefslogtreecommitdiff
path: root/sysdeps/sun4
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1998-07-14 08:36:23 +0000
committerMartin Baulig <martin@src.gnome.org>1998-07-14 08:36:23 +0000
commitef693a93bc715cbe453371de711cf102c1ddb83f (patch)
treec0d19b9a0bb8a23be46bf4b4971dd36f2887ffc2 /sysdeps/sun4
parentaa04293fc3b0b6c42e44ecb12f33b4240e9358e4 (diff)
downloadlibgtop-ef693a93bc715cbe453371de711cf102c1ddb83f.tar.gz
Doing correct server initialization using `glibtop_set_parameter_l' and
1998-07-14 Martin Baulig <martin@home-of-linux.org> * src/daemon/gnuserv.c: Doing correct server initialization using `glibtop_set_parameter_l' and `glibtop_init_r'. * src/daemon/main.c: Removed call to `glibtop_init_r'. * lib/open.c (glibtop_open_l): We now call the open function of the sysdeps directory (glibtop_open_r) for server method `GLIBTOP_METHOD_DIRECT'. * sysdeps/{linux, sun4, stub}/open.c: No longer `memset' server to zero.
Diffstat (limited to 'sysdeps/sun4')
-rw-r--r--sysdeps/sun4/open.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/sun4/open.c b/sysdeps/sun4/open.c
index 4e5cc6bd..7f68913c 100644
--- a/sysdeps/sun4/open.c
+++ b/sysdeps/sun4/open.c
@@ -64,7 +64,6 @@ glibtop_open_r (glibtop *server, const char *program_name,
/* !!! WE ARE ROOT HERE - CHANGE WITH CAUTION !!! */
- memset (server, 0, sizeof (glibtop));
server->name = program_name;
server->machine.uid = getuid ();