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.
This commit is contained in:
Martin Baulig
1998-07-14 08:36:23 +00:00
committed by Martin Baulig
parent aa04293fc3
commit ef693a93bc
7 changed files with 48 additions and 14 deletions

View File

@@ -54,7 +54,6 @@ void
glibtop_open_r (glibtop *server, const char *program_name,
const unsigned long features, const unsigned flags)
{
memset (server, 0, sizeof (glibtop));
server->name = program_name;
set_linux_version ();