summaryrefslogtreecommitdiffstats
path: root/net-mgmt/etherape/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/etherape/files')
-rw-r--r--net-mgmt/etherape/files/patch-capture.c20
-rw-r--r--net-mgmt/etherape/files/patch-resolv.c11
-rw-r--r--net-mgmt/etherape/files/patch-thread_resolve.c23
3 files changed, 54 insertions, 0 deletions
diff --git a/net-mgmt/etherape/files/patch-capture.c b/net-mgmt/etherape/files/patch-capture.c
new file mode 100644
index 000000000..4a7a0a44e
--- /dev/null
+++ b/net-mgmt/etherape/files/patch-capture.c
@@ -0,0 +1,20 @@
+--- src/capture.c.orig Sat Apr 29 09:58:35 2006
++++ src/capture.c Mon May 29 01:14:23 2006
+@@ -464,10 +464,13 @@
+ return FALSE;
+ }
+
+- /* preparing protocol summary and nodes/links catalogs */
+- protocol_summary_open();
+- nodes_catalog_open();
+- links_catalog_open();
++ if (status != PAUSE)
++ {
++ /* preparing protocol summary and nodes/links catalogs */
++ protocol_summary_open();
++ nodes_catalog_open();
++ links_catalog_open();
++ }
+
+ /*
+ * See pause_capture for an explanation of why we don't always
diff --git a/net-mgmt/etherape/files/patch-resolv.c b/net-mgmt/etherape/files/patch-resolv.c
new file mode 100644
index 000000000..4e062d403
--- /dev/null
+++ b/net-mgmt/etherape/files/patch-resolv.c
@@ -0,0 +1,11 @@
+--- src/resolv.c.orig Sat Apr 29 09:58:35 2006
++++ src/resolv.c Mon May 29 00:54:06 2006
+@@ -500,7 +500,7 @@
+ */
+ if (g_pethers_path == NULL)
+ {
+- g_strdup_printf (g_pethers_path, "%s/%s",
++ g_pethers_path = g_strdup_printf ("%s/%s",
+ get_home_dir (), EPATH_PERSONAL_ETHERS);
+ }
+
diff --git a/net-mgmt/etherape/files/patch-thread_resolve.c b/net-mgmt/etherape/files/patch-thread_resolve.c
new file mode 100644
index 000000000..dd20e557e
--- /dev/null
+++ b/net-mgmt/etherape/files/patch-thread_resolve.c
@@ -0,0 +1,23 @@
+--- src/thread_resolve.c.orig Tue Apr 25 09:08:28 2006
++++ src/thread_resolve.c Mon May 29 00:37:45 2006
+@@ -167,6 +167,10 @@
+
+ pthread_mutex_unlock(&resolvemtx);
+ }
++
++ /* close mutex */
++ close_mutex();
++
+ return NULL;
+ }
+
+@@ -268,9 +272,6 @@
+ {
+ /* thread pool shutdown */
+ stop_threads();
+-
+- /* close mutex */
+- close_mutex();
+ }
+
+ /* returns 1 if the current dns implementation has a socket wich needs a select() */