summaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-10-12 00:07:33 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-10-12 00:07:33 +0000
commit27728a48d661e9ee546cc95aae8fa52050eefb29 (patch)
tree89450fc22b530dc592134ac18405180eeafe13b3 /src/transport
parent6d38e5b12b460d1d7f0a6eafe1410f7121e04002 (diff)
- change --enable-ll to --enable-supermuc
- define a system wide termination signal GNUNET_TERM_SIG. Set this to SIGUSR1 only when building for SuperMUC
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/gnunet-helper-transport-wlan-dummy.c3
-rw-r--r--src/transport/gnunet-transport.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/transport/gnunet-helper-transport-wlan-dummy.c b/src/transport/gnunet-helper-transport-wlan-dummy.c
index d07b1f8f6..e6be00a73 100644
--- a/src/transport/gnunet-helper-transport-wlan-dummy.c
+++ b/src/transport/gnunet-helper-transport-wlan-dummy.c
@@ -314,7 +314,8 @@ main (int argc, char *argv[])
signal (SIGINT, &sigfunc);
signal (SIGTERM, &sigfunc);
-
+ signal (GNUNET_TERM_SIG, &sigfunc);
+
write_std.size = 0;
write_std.pos = 0;
write_pout.size = 0;
diff --git a/src/transport/gnunet-transport.c b/src/transport/gnunet-transport.c
index ed47e29e1..0393a06cc 100644
--- a/src/transport/gnunet-transport.c
+++ b/src/transport/gnunet-transport.c
@@ -358,7 +358,7 @@ display_test_result (struct TestContext *tc, int result)
resolver_users--;
if ((0 == resolver_users) && (NULL != resolver))
{
- GNUNET_break (0 == GNUNET_OS_process_kill (resolver, SIGTERM));
+ GNUNET_break (0 == GNUNET_OS_process_kill (resolver, GNUNET_TERM_SIG));
GNUNET_OS_process_destroy (resolver);
resolver = NULL;
}