freebsd-ports/devel/libgtop2/files/patch-lib::command.c
Alexander Nedotsukov 23b84554d8 - Fixes in proctime calculation.
- Fixes in procmem calculation.
- Clear libgtop_server2 responce structure to avoid use of
  uninitialized memory.
- Retry read/write after EINTR wich in fact is not an error.
- A number of glibtop_errors downgraded to glibtop_warns
  to avoid unxepected libgtop_server2 termination.
2003-09-09 03:35:10 +00:00

10 lines
274 B
C

--- lib/command.c.orig Tue Sep 9 09:47:58 2003
+++ lib/command.c Tue Sep 9 08:14:33 2003
@@ -38,6 +38,7 @@
glibtop_init_r (&server, 0, 0);
memset (&cmnd, 0, sizeof (glibtop_command));
+ memset (&response, 0, sizeof (glibtop_response));
cmnd.command = command;