From: Christian Grothoff Date: Wed, 3 Nov 2010 21:41:22 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~19846 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3983c5e290c36014c54acd4a359d8e56dbf35f9a;p=oweals%2Fgnunet.git fix --- diff --git a/src/util/test_os_priority.c b/src/util/test_os_priority.c index 17874a6ee..94e2719a2 100644 --- a/src/util/test_os_priority.c +++ b/src/util/test_os_priority.c @@ -30,7 +30,6 @@ static int testprio () { - pid_t child; if (GNUNET_OK != GNUNET_OS_set_process_priority (GNUNET_OS_process_current (), GNUNET_SCHEDULER_PRIORITY_DEFAULT)) @@ -55,17 +54,6 @@ testprio () GNUNET_OS_set_process_priority (GNUNET_OS_process_current (), GNUNET_SCHEDULER_PRIORITY_HIGH)) return 1; -#ifndef MINGW - child = fork (); - if (child == 0) - { - sleep (10); - exit (0); - } - if (GNUNET_OK != - GNUNET_OS_set_process_priority (child, GNUNET_SCHEDULER_PRIORITY_IDLE)) - return 1; -#endif return 0; }