summaryrefslogtreecommitdiffstats
path: root/sysutils/gnomesystemmonitor/files/patch-src_openfiles.c
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-01-14 16:21:22 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-01-14 16:21:22 +0800
commitc07dce16171a813b9a0ada4adf94597597696e46 (patch)
tree9d75e6b83de0a99870a4e78ba84285f0a687a103 /sysutils/gnomesystemmonitor/files/patch-src_openfiles.c
parente7b1664993eedad550b5dd828b95f3a23b891b48 (diff)
downloadmarcuscom-ports-c07dce16171a813b9a0ada4adf94597597696e46.tar.gz
marcuscom-ports-c07dce16171a813b9a0ada4adf94597597696e46.tar.zst
marcuscom-ports-c07dce16171a813b9a0ada4adf94597597696e46.zip
Update to 2.9.4.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3435 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/gnomesystemmonitor/files/patch-src_openfiles.c')
-rw-r--r--sysutils/gnomesystemmonitor/files/patch-src_openfiles.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/sysutils/gnomesystemmonitor/files/patch-src_openfiles.c b/sysutils/gnomesystemmonitor/files/patch-src_openfiles.c
new file mode 100644
index 000000000..6f6b8dc1b
--- /dev/null
+++ b/sysutils/gnomesystemmonitor/files/patch-src_openfiles.c
@@ -0,0 +1,24 @@
+--- src/openfiles.c.orig Fri Jan 14 03:16:02 2005
++++ src/openfiles.c Fri Jan 14 03:16:34 2005
+@@ -106,7 +106,7 @@
+ const glibtop_open_files_entry *o2 = b;
+
+ /* Falta manejar los diferentes tipos! */
+- return (o1->fd == o2->fd) && (o1->type == o1->type); // XXX!
++ return (o1->fd == o2->fd) && (o1->type == o1->type); /* XXX! */
+ }
+
+
+@@ -115,10 +115,10 @@
+ {
+ ProcInfo *info;
+ GtkTreeModel *model;
+- glibtop_open_files_entry *openfiles;
+- glibtop_proc_open_files procmap;
+ GHashTable *new_maps;
+ gint i;
++ glibtop_open_files_entry *openfiles;
++ glibtop_proc_open_files procmap;
+
+ info = g_object_get_data (G_OBJECT (tree), "selected_info");
+ g_return_if_fail (info);