From d28ba7df86bc9b8d07186087114185134c8b4557 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Mon, 13 Feb 2017 19:00:47 +0900 Subject: [PATCH] efl net proxy helper - use infinite for and sleeps instead of pause so the process was waiting to be killed (waiting forever) and i used pause() but this isnt windows-friendly, so since this process expects to be killed by the parent process, then use a for (;;) with lon long long sleeps... instead. this shoud fix T5174 --- src/bin/ecore_con/efl_net_proxy_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/ecore_con/efl_net_proxy_helper.c b/src/bin/ecore_con/efl_net_proxy_helper.c index 69c371a12f..30074d6af8 100644 --- a/src/bin/ecore_con/efl_net_proxy_helper.c +++ b/src/bin/ecore_con/efl_net_proxy_helper.c @@ -257,7 +257,7 @@ main(int argc EINA_UNUSED, char **argv EINA_UNUSED) // Failed to init libproxy so report this before exit fprintf(stdout, "F\n"); fflush(stdout); - pause(); + for (;;) sleep(60 * 60 * 24); } eina_shutdown(); return 0;