diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-10-12 00:07:33 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-10-12 00:07:33 +0000 |
commit | 27728a48d661e9ee546cc95aae8fa52050eefb29 (patch) | |
tree | 89450fc22b530dc592134ac18405180eeafe13b3 /src/testbed/testbed_api_hosts.c | |
parent | 6d38e5b12b460d1d7f0a6eafe1410f7121e04002 (diff) | |
download | gnunet-27728a48d661e9ee546cc95aae8fa52050eefb29.tar.gz gnunet-27728a48d661e9ee546cc95aae8fa52050eefb29.zip |
- 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/testbed/testbed_api_hosts.c')
-rw-r--r-- | src/testbed/testbed_api_hosts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testbed/testbed_api_hosts.c b/src/testbed/testbed_api_hosts.c index 51bd632c7..2b0d20127 100644 --- a/src/testbed/testbed_api_hosts.c +++ b/src/testbed/testbed_api_hosts.c | |||
@@ -565,7 +565,7 @@ GNUNET_TESTBED_hosts_load_from_loadleveler (const struct | |||
565 | GNUNET_CONFIGURATION_Handle *cfg, | 565 | GNUNET_CONFIGURATION_Handle *cfg, |
566 | struct GNUNET_TESTBED_Host ***hosts) | 566 | struct GNUNET_TESTBED_Host ***hosts) |
567 | { | 567 | { |
568 | #if !ENABLE_LL | 568 | #if !ENABLE_SUPERMUC |
569 | LOG (GNUNET_ERROR_TYPE_ERROR, | 569 | LOG (GNUNET_ERROR_TYPE_ERROR, |
570 | _("The function %s is only available when compiled with (--with-ll)\n"), | 570 | _("The function %s is only available when compiled with (--with-ll)\n"), |
571 | __func__); | 571 | __func__); |
@@ -1374,7 +1374,7 @@ GNUNET_TESTBED_is_host_habitable_cancel (struct | |||
1374 | *handle) | 1374 | *handle) |
1375 | { | 1375 | { |
1376 | GNUNET_SCHEDULER_cancel (handle->habitability_check_task); | 1376 | GNUNET_SCHEDULER_cancel (handle->habitability_check_task); |
1377 | (void) GNUNET_OS_process_kill (handle->auxp, SIGTERM); | 1377 | (void) GNUNET_OS_process_kill (handle->auxp, GNUNET_TERM_SIG); |
1378 | (void) GNUNET_OS_process_wait (handle->auxp); | 1378 | (void) GNUNET_OS_process_wait (handle->auxp); |
1379 | GNUNET_OS_process_destroy (handle->auxp); | 1379 | GNUNET_OS_process_destroy (handle->auxp); |
1380 | free_argv (handle->helper_argv); | 1380 | free_argv (handle->helper_argv); |