diff options
author | Bart Polot <bart@net.in.tum.de> | 2012-05-08 17:10:10 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2012-05-08 17:10:10 +0000 |
commit | 16546613251edfcd595e4f584b1a2d2a414d0b1a (patch) | |
tree | 0a01bd8afdcb9501ee7f9be6d2ecc59648e40392 /src/core | |
parent | 9d268909fe579e36510ef03055c6cec9baa7d07a (diff) | |
download | gnunet-16546613251edfcd595e4f584b1a2d2a414d0b1a.tar.gz gnunet-16546613251edfcd595e4f584b1a2d2a414d0b1a.zip |
Renamed GNUNET_OS_process_close to GNUNET_OS_process_destroy
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/test_core_api.c | 2 | ||||
-rw-r--r-- | src/core/test_core_api_reliability.c | 2 | ||||
-rw-r--r-- | src/core/test_core_api_send_to_self.c | 2 | ||||
-rw-r--r-- | src/core/test_core_api_start_only.c | 2 | ||||
-rw-r--r-- | src/core/test_core_quota_compliance.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/core/test_core_api.c b/src/core/test_core_api.c index 271c2ce08..37d166983 100644 --- a/src/core/test_core_api.c +++ b/src/core/test_core_api.c | |||
@@ -362,7 +362,7 @@ stop_arm (struct PeerContext *p) | |||
362 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 362 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |
363 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", | 363 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", |
364 | GNUNET_OS_process_get_pid (p->arm_proc)); | 364 | GNUNET_OS_process_get_pid (p->arm_proc)); |
365 | GNUNET_OS_process_close (p->arm_proc); | 365 | GNUNET_OS_process_destroy (p->arm_proc); |
366 | p->arm_proc = NULL; | 366 | p->arm_proc = NULL; |
367 | #endif | 367 | #endif |
368 | GNUNET_CONFIGURATION_destroy (p->cfg); | 368 | GNUNET_CONFIGURATION_destroy (p->cfg); |
diff --git a/src/core/test_core_api_reliability.c b/src/core/test_core_api_reliability.c index 645b27e74..0c6a39ffb 100644 --- a/src/core/test_core_api_reliability.c +++ b/src/core/test_core_api_reliability.c | |||
@@ -482,7 +482,7 @@ stop_arm (struct PeerContext *p) | |||
482 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 482 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |
483 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", | 483 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", |
484 | GNUNET_OS_process_get_pid (p->arm_proc)); | 484 | GNUNET_OS_process_get_pid (p->arm_proc)); |
485 | GNUNET_OS_process_close (p->arm_proc); | 485 | GNUNET_OS_process_destroy (p->arm_proc); |
486 | p->arm_proc = NULL; | 486 | p->arm_proc = NULL; |
487 | #endif | 487 | #endif |
488 | GNUNET_CONFIGURATION_destroy (p->cfg); | 488 | GNUNET_CONFIGURATION_destroy (p->cfg); |
diff --git a/src/core/test_core_api_send_to_self.c b/src/core/test_core_api_send_to_self.c index 4fa73d951..b1340dcfb 100644 --- a/src/core/test_core_api_send_to_self.c +++ b/src/core/test_core_api_send_to_self.c | |||
@@ -81,7 +81,7 @@ cleanup (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tskctx) | |||
81 | 81 | ||
82 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", | 82 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", |
83 | GNUNET_OS_process_get_pid (arm_proc)); | 83 | GNUNET_OS_process_get_pid (arm_proc)); |
84 | GNUNET_OS_process_close (arm_proc); | 84 | GNUNET_OS_process_destroy (arm_proc); |
85 | arm_proc = NULL; | 85 | arm_proc = NULL; |
86 | 86 | ||
87 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Ending test.\n"); | 87 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Ending test.\n"); |
diff --git a/src/core/test_core_api_start_only.c b/src/core/test_core_api_start_only.c index 2eca57512..8c8132043 100644 --- a/src/core/test_core_api_start_only.c +++ b/src/core/test_core_api_start_only.c | |||
@@ -208,7 +208,7 @@ stop_arm (struct PeerContext *p) | |||
208 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 208 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |
209 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", | 209 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", |
210 | GNUNET_OS_process_get_pid (p->arm_proc)); | 210 | GNUNET_OS_process_get_pid (p->arm_proc)); |
211 | GNUNET_OS_process_close (p->arm_proc); | 211 | GNUNET_OS_process_destroy (p->arm_proc); |
212 | p->arm_proc = NULL; | 212 | p->arm_proc = NULL; |
213 | #endif | 213 | #endif |
214 | GNUNET_CONFIGURATION_destroy (p->cfg); | 214 | GNUNET_CONFIGURATION_destroy (p->cfg); |
diff --git a/src/core/test_core_quota_compliance.c b/src/core/test_core_quota_compliance.c index 636520e69..dc345ba2b 100644 --- a/src/core/test_core_quota_compliance.c +++ b/src/core/test_core_quota_compliance.c | |||
@@ -642,7 +642,7 @@ stop_arm (struct PeerContext *p) | |||
642 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 642 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |
643 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", | 643 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", |
644 | GNUNET_OS_process_get_pid (p->arm_proc)); | 644 | GNUNET_OS_process_get_pid (p->arm_proc)); |
645 | GNUNET_OS_process_close (p->arm_proc); | 645 | GNUNET_OS_process_destroy (p->arm_proc); |
646 | p->arm_proc = NULL; | 646 | p->arm_proc = NULL; |
647 | #endif | 647 | #endif |
648 | GNUNET_CONFIGURATION_destroy (p->cfg); | 648 | GNUNET_CONFIGURATION_destroy (p->cfg); |