From 3d440251017e0a5e603ce2a99fe25dd3108ad272 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Mon, 5 Jul 2004 19:36:26 +0000 Subject: Add gnomenettool after a repo-copy from gnomenetwork. Gnome-nettool is the netinfo piece of gnome-network broken out into its own distribution. Gnome-nettool is a MacOS X-like Network Utility that disaplys interface information as well as front-ends many useful network tools like ping, netstat, traceroute, host, finger, and whois. --- .../files/patch-gnome-netinfo_netinfo.c | 41 ---------------------- 1 file changed, 41 deletions(-) delete mode 100644 net/gnome-nettool/files/patch-gnome-netinfo_netinfo.c (limited to 'net/gnome-nettool/files/patch-gnome-netinfo_netinfo.c') diff --git a/net/gnome-nettool/files/patch-gnome-netinfo_netinfo.c b/net/gnome-nettool/files/patch-gnome-netinfo_netinfo.c deleted file mode 100644 index 4048c43b48ab..000000000000 --- a/net/gnome-nettool/files/patch-gnome-netinfo_netinfo.c +++ /dev/null @@ -1,41 +0,0 @@ ---- gnome-netinfo/netinfo.c.orig Mon Nov 24 18:29:43 2003 -+++ gnome-netinfo/netinfo.c Sun Dec 7 01:00:52 2003 -@@ -20,6 +20,7 @@ - - #include - #include -+#include - #include - #include - #include -@@ -253,14 +254,16 @@ - if (condition & G_IO_IN) { - g_io_channel_read_line (channel, &text, &len, NULL, NULL); - -- if (netinfo->process_line != NULL) { -- (netinfo->process_line) ((gpointer) netinfo, text, -- len, NULL); -- } -+ if (text != NULL) { -+ if (netinfo->process_line != NULL) { -+ (netinfo->process_line) ((gpointer) netinfo, text, -+ len, NULL); -+ } - -- g_free (text); -+ g_free (text); - -- return TRUE; -+ return TRUE; -+ } - } - - /* The condition is not G_IO_HUP | G_IO_ERR | G_IO_NVAL, so -@@ -285,6 +288,7 @@ - } - return FALSE; - } -+ - - void - netinfo_stop_process_command (Netinfo * netinfo) -- cgit v1.2.3