diff options
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/test_fs.c | 2 | ||||
-rw-r--r-- | src/fs/test_fs_download.c | 2 | ||||
-rw-r--r-- | src/fs/test_fs_download_indexed.c | 2 | ||||
-rw-r--r-- | src/fs/test_fs_download_persistence.c | 2 | ||||
-rw-r--r-- | src/fs/test_fs_download_recursive.c | 2 | ||||
-rw-r--r-- | src/fs/test_fs_list_indexed.c | 2 | ||||
-rw-r--r-- | src/fs/test_fs_namespace.c | 2 | ||||
-rw-r--r-- | src/fs/test_fs_namespace_list_updateable.c | 2 | ||||
-rw-r--r-- | src/fs/test_fs_publish.c | 2 | ||||
-rw-r--r-- | src/fs/test_fs_publish_persistence.c | 2 | ||||
-rw-r--r-- | src/fs/test_fs_search.c | 2 | ||||
-rw-r--r-- | src/fs/test_fs_search_persistence.c | 2 | ||||
-rw-r--r-- | src/fs/test_fs_search_probes.c | 2 | ||||
-rw-r--r-- | src/fs/test_fs_search_ranking.c | 2 | ||||
-rw-r--r-- | src/fs/test_fs_start_stop.c | 2 | ||||
-rw-r--r-- | src/fs/test_fs_unindex.c | 2 | ||||
-rw-r--r-- | src/fs/test_fs_unindex_persistence.c | 2 |
17 files changed, 17 insertions, 17 deletions
diff --git a/src/fs/test_fs.c b/src/fs/test_fs.c index 5ec5ab053..8df9662a1 100644 --- a/src/fs/test_fs.c +++ b/src/fs/test_fs.c | |||
@@ -241,7 +241,7 @@ FAILURE: | |||
241 | 241 | ||
242 | #if START_DAEMON | 242 | #if START_DAEMON |
243 | GNUNET_GE_ASSERT (NULL, GNUNET_OK == GNUNET_daemon_stop (NULL, daemon)); | 243 | GNUNET_GE_ASSERT (NULL, GNUNET_OK == GNUNET_daemon_stop (NULL, daemon)); |
244 | GNUNET_OS_process_close (daemon); | 244 | GNUNET_OS_process_destroy (daemon); |
245 | #endif | 245 | #endif |
246 | GNUNET_GC_free (cfg); | 246 | GNUNET_GC_free (cfg); |
247 | 247 | ||
diff --git a/src/fs/test_fs_download.c b/src/fs/test_fs_download.c index 198a8154e..278197478 100644 --- a/src/fs/test_fs_download.c +++ b/src/fs/test_fs_download.c | |||
@@ -268,7 +268,7 @@ stop_arm (struct PeerContext *p) | |||
268 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 268 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |
269 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", | 269 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", |
270 | GNUNET_OS_process_get_pid (p->arm_proc)); | 270 | GNUNET_OS_process_get_pid (p->arm_proc)); |
271 | GNUNET_OS_process_close (p->arm_proc); | 271 | GNUNET_OS_process_destroy (p->arm_proc); |
272 | p->arm_proc = NULL; | 272 | p->arm_proc = NULL; |
273 | } | 273 | } |
274 | #endif | 274 | #endif |
diff --git a/src/fs/test_fs_download_indexed.c b/src/fs/test_fs_download_indexed.c index 5b56ed787..d16aa97f1 100644 --- a/src/fs/test_fs_download_indexed.c +++ b/src/fs/test_fs_download_indexed.c | |||
@@ -270,7 +270,7 @@ stop_arm (struct PeerContext *p) | |||
270 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 270 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |
271 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", | 271 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", |
272 | GNUNET_OS_process_get_pid (p->arm_proc)); | 272 | GNUNET_OS_process_get_pid (p->arm_proc)); |
273 | GNUNET_OS_process_close (p->arm_proc); | 273 | GNUNET_OS_process_destroy (p->arm_proc); |
274 | p->arm_proc = NULL; | 274 | p->arm_proc = NULL; |
275 | } | 275 | } |
276 | #endif | 276 | #endif |
diff --git a/src/fs/test_fs_download_persistence.c b/src/fs/test_fs_download_persistence.c index 3a6d9553e..ba776dd03 100644 --- a/src/fs/test_fs_download_persistence.c +++ b/src/fs/test_fs_download_persistence.c | |||
@@ -318,7 +318,7 @@ stop_arm (struct PeerContext *p) | |||
318 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 318 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |
319 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", | 319 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", |
320 | GNUNET_OS_process_get_pid (p->arm_proc)); | 320 | GNUNET_OS_process_get_pid (p->arm_proc)); |
321 | GNUNET_OS_process_close (p->arm_proc); | 321 | GNUNET_OS_process_destroy (p->arm_proc); |
322 | p->arm_proc = NULL; | 322 | p->arm_proc = NULL; |
323 | } | 323 | } |
324 | #endif | 324 | #endif |
diff --git a/src/fs/test_fs_download_recursive.c b/src/fs/test_fs_download_recursive.c index bd99f0600..bcbfe2b2a 100644 --- a/src/fs/test_fs_download_recursive.c +++ b/src/fs/test_fs_download_recursive.c | |||
@@ -365,7 +365,7 @@ FAILURE: | |||
365 | 365 | ||
366 | #if START_DAEMON | 366 | #if START_DAEMON |
367 | GNUNET_GE_BREAK (NULL, GNUNET_OK == GNUNET_daemon_stop (NULL, daemon)); | 367 | GNUNET_GE_BREAK (NULL, GNUNET_OK == GNUNET_daemon_stop (NULL, daemon)); |
368 | GNUNET_OS_process_close (daemon); | 368 | GNUNET_OS_process_destroy (daemon); |
369 | daemon = NULL; | 369 | daemon = NULL; |
370 | #endif | 370 | #endif |
371 | GNUNET_GC_free (cfg); | 371 | GNUNET_GC_free (cfg); |
diff --git a/src/fs/test_fs_list_indexed.c b/src/fs/test_fs_list_indexed.c index 535f8ef58..d046a20c6 100644 --- a/src/fs/test_fs_list_indexed.c +++ b/src/fs/test_fs_list_indexed.c | |||
@@ -211,7 +211,7 @@ stop_arm (struct PeerContext *p) | |||
211 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 211 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |
212 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", | 212 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", |
213 | GNUNET_OS_process_get_pid (p->arm_proc)); | 213 | GNUNET_OS_process_get_pid (p->arm_proc)); |
214 | GNUNET_OS_process_close (p->arm_proc); | 214 | GNUNET_OS_process_destroy (p->arm_proc); |
215 | p->arm_proc = NULL; | 215 | p->arm_proc = NULL; |
216 | } | 216 | } |
217 | #endif | 217 | #endif |
diff --git a/src/fs/test_fs_namespace.c b/src/fs/test_fs_namespace.c index d25fd6f83..9305a501f 100644 --- a/src/fs/test_fs_namespace.c +++ b/src/fs/test_fs_namespace.c | |||
@@ -90,7 +90,7 @@ stop_arm (struct PeerContext *p) | |||
90 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 90 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |
91 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", | 91 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", |
92 | GNUNET_OS_process_get_pid (p->arm_proc)); | 92 | GNUNET_OS_process_get_pid (p->arm_proc)); |
93 | GNUNET_OS_process_close (p->arm_proc); | 93 | GNUNET_OS_process_destroy (p->arm_proc); |
94 | p->arm_proc = NULL; | 94 | p->arm_proc = NULL; |
95 | } | 95 | } |
96 | #endif | 96 | #endif |
diff --git a/src/fs/test_fs_namespace_list_updateable.c b/src/fs/test_fs_namespace_list_updateable.c index 44775ac0e..2cec67ddc 100644 --- a/src/fs/test_fs_namespace_list_updateable.c +++ b/src/fs/test_fs_namespace_list_updateable.c | |||
@@ -94,7 +94,7 @@ stop_arm (struct PeerContext *p) | |||
94 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 94 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |
95 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", | 95 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", |
96 | GNUNET_OS_process_get_pid (p->arm_proc)); | 96 | GNUNET_OS_process_get_pid (p->arm_proc)); |
97 | GNUNET_OS_process_close (p->arm_proc); | 97 | GNUNET_OS_process_destroy (p->arm_proc); |
98 | p->arm_proc = NULL; | 98 | p->arm_proc = NULL; |
99 | } | 99 | } |
100 | #endif | 100 | #endif |
diff --git a/src/fs/test_fs_publish.c b/src/fs/test_fs_publish.c index e52743876..1560f4ea3 100644 --- a/src/fs/test_fs_publish.c +++ b/src/fs/test_fs_publish.c | |||
@@ -196,7 +196,7 @@ stop_arm (struct PeerContext *p) | |||
196 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 196 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |
197 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", | 197 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", |
198 | GNUNET_OS_process_get_pid (p->arm_proc)); | 198 | GNUNET_OS_process_get_pid (p->arm_proc)); |
199 | GNUNET_OS_process_close (p->arm_proc); | 199 | GNUNET_OS_process_destroy (p->arm_proc); |
200 | p->arm_proc = NULL; | 200 | p->arm_proc = NULL; |
201 | } | 201 | } |
202 | #endif | 202 | #endif |
diff --git a/src/fs/test_fs_publish_persistence.c b/src/fs/test_fs_publish_persistence.c index 7707eac32..7d3bc32ae 100644 --- a/src/fs/test_fs_publish_persistence.c +++ b/src/fs/test_fs_publish_persistence.c | |||
@@ -259,7 +259,7 @@ stop_arm (struct PeerContext *p) | |||
259 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 259 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |
260 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", | 260 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", |
261 | GNUNET_OS_process_get_pid (p->arm_proc)); | 261 | GNUNET_OS_process_get_pid (p->arm_proc)); |
262 | GNUNET_OS_process_close (p->arm_proc); | 262 | GNUNET_OS_process_destroy (p->arm_proc); |
263 | p->arm_proc = NULL; | 263 | p->arm_proc = NULL; |
264 | } | 264 | } |
265 | #endif | 265 | #endif |
diff --git a/src/fs/test_fs_search.c b/src/fs/test_fs_search.c index f6c8f00f8..a3a9b5444 100644 --- a/src/fs/test_fs_search.c +++ b/src/fs/test_fs_search.c | |||
@@ -197,7 +197,7 @@ stop_arm (struct PeerContext *p) | |||
197 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 197 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |
198 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", | 198 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", |
199 | GNUNET_OS_process_get_pid (p->arm_proc)); | 199 | GNUNET_OS_process_get_pid (p->arm_proc)); |
200 | GNUNET_OS_process_close (p->arm_proc); | 200 | GNUNET_OS_process_destroy (p->arm_proc); |
201 | p->arm_proc = NULL; | 201 | p->arm_proc = NULL; |
202 | } | 202 | } |
203 | #endif | 203 | #endif |
diff --git a/src/fs/test_fs_search_persistence.c b/src/fs/test_fs_search_persistence.c index 38f88a82a..d18b50eb5 100644 --- a/src/fs/test_fs_search_persistence.c +++ b/src/fs/test_fs_search_persistence.c | |||
@@ -259,7 +259,7 @@ stop_arm (struct PeerContext *p) | |||
259 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 259 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |
260 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", | 260 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", |
261 | GNUNET_OS_process_get_pid (p->arm_proc)); | 261 | GNUNET_OS_process_get_pid (p->arm_proc)); |
262 | GNUNET_OS_process_close (p->arm_proc); | 262 | GNUNET_OS_process_destroy (p->arm_proc); |
263 | p->arm_proc = NULL; | 263 | p->arm_proc = NULL; |
264 | } | 264 | } |
265 | #endif | 265 | #endif |
diff --git a/src/fs/test_fs_search_probes.c b/src/fs/test_fs_search_probes.c index c1022b9aa..6f57ea8b0 100644 --- a/src/fs/test_fs_search_probes.c +++ b/src/fs/test_fs_search_probes.c | |||
@@ -200,7 +200,7 @@ stop_arm (struct PeerContext *p) | |||
200 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 200 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |
201 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", | 201 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", |
202 | GNUNET_OS_process_get_pid (p->arm_proc)); | 202 | GNUNET_OS_process_get_pid (p->arm_proc)); |
203 | GNUNET_OS_process_close (p->arm_proc); | 203 | GNUNET_OS_process_destroy (p->arm_proc); |
204 | p->arm_proc = NULL; | 204 | p->arm_proc = NULL; |
205 | } | 205 | } |
206 | #endif | 206 | #endif |
diff --git a/src/fs/test_fs_search_ranking.c b/src/fs/test_fs_search_ranking.c index af4e56aef..5ad7da224 100644 --- a/src/fs/test_fs_search_ranking.c +++ b/src/fs/test_fs_search_ranking.c | |||
@@ -236,7 +236,7 @@ FAILURE: | |||
236 | 236 | ||
237 | #if START_DAEMON | 237 | #if START_DAEMON |
238 | GNUNET_GE_ASSERT (NULL, GNUNET_OK == GNUNET_daemon_stop (NULL, daemon)); | 238 | GNUNET_GE_ASSERT (NULL, GNUNET_OK == GNUNET_daemon_stop (NULL, daemon)); |
239 | GNUNET_OS_process_close (daemon); | 239 | GNUNET_OS_process_destroy (daemon); |
240 | daemon = NULL; | 240 | daemon = NULL; |
241 | #endif | 241 | #endif |
242 | GNUNET_GC_free (cfg); | 242 | GNUNET_GC_free (cfg); |
diff --git a/src/fs/test_fs_start_stop.c b/src/fs/test_fs_start_stop.c index 0ef0723f9..6bd698a43 100644 --- a/src/fs/test_fs_start_stop.c +++ b/src/fs/test_fs_start_stop.c | |||
@@ -80,7 +80,7 @@ stop_arm (struct PeerContext *p) | |||
80 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 80 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |
81 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", | 81 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", |
82 | GNUNET_OS_process_get_pid (p->arm_proc)); | 82 | GNUNET_OS_process_get_pid (p->arm_proc)); |
83 | GNUNET_OS_process_close (p->arm_proc); | 83 | GNUNET_OS_process_destroy (p->arm_proc); |
84 | p->arm_proc = NULL; | 84 | p->arm_proc = NULL; |
85 | } | 85 | } |
86 | #endif | 86 | #endif |
diff --git a/src/fs/test_fs_unindex.c b/src/fs/test_fs_unindex.c index a8b68a3cf..ee76bf9f3 100644 --- a/src/fs/test_fs_unindex.c +++ b/src/fs/test_fs_unindex.c | |||
@@ -210,7 +210,7 @@ stop_arm (struct PeerContext *p) | |||
210 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 210 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |
211 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", | 211 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", |
212 | GNUNET_OS_process_get_pid (p->arm_proc)); | 212 | GNUNET_OS_process_get_pid (p->arm_proc)); |
213 | GNUNET_OS_process_close (p->arm_proc); | 213 | GNUNET_OS_process_destroy (p->arm_proc); |
214 | p->arm_proc = NULL; | 214 | p->arm_proc = NULL; |
215 | } | 215 | } |
216 | #endif | 216 | #endif |
diff --git a/src/fs/test_fs_unindex_persistence.c b/src/fs/test_fs_unindex_persistence.c index 575e1715f..c6b1062e1 100644 --- a/src/fs/test_fs_unindex_persistence.c +++ b/src/fs/test_fs_unindex_persistence.c | |||
@@ -272,7 +272,7 @@ stop_arm (struct PeerContext *p) | |||
272 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 272 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |
273 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", | 273 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM process %u stopped\n", |
274 | GNUNET_OS_process_get_pid (p->arm_proc)); | 274 | GNUNET_OS_process_get_pid (p->arm_proc)); |
275 | GNUNET_OS_process_close (p->arm_proc); | 275 | GNUNET_OS_process_destroy (p->arm_proc); |
276 | p->arm_proc = NULL; | 276 | p->arm_proc = NULL; |
277 | } | 277 | } |
278 | #endif | 278 | #endif |