summaryrefslogtreecommitdiff
path: root/devel/libgtop2/files/patch-lib::command.c
diff options
context:
space:
mode:
authorAlexander Nedotsukov <bland@FreeBSD.org>2003-09-09 03:35:10 +0000
committerAlexander Nedotsukov <bland@FreeBSD.org>2003-09-09 03:35:10 +0000
commit23b84554d8df79b5db6316a2d87df77cc9cac7bb (patch)
tree730da42eb021921719044d100813a3fe5437317a /devel/libgtop2/files/patch-lib::command.c
parentUpdate fetchmail port to 6.2.4 (diff)
- 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.
Notes
Notes: svn path=/head/; revision=88830
Diffstat (limited to 'devel/libgtop2/files/patch-lib::command.c')
-rw-r--r--devel/libgtop2/files/patch-lib::command.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/libgtop2/files/patch-lib::command.c b/devel/libgtop2/files/patch-lib::command.c
new file mode 100644
index 000000000000..4bb3aefb1b9a
--- /dev/null
+++ b/devel/libgtop2/files/patch-lib::command.c
@@ -0,0 +1,10 @@
+--- 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;
+