raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d28ba7df86bc9b8d07186087114185134c8b4557

commit d28ba7df86bc9b8d07186087114185134c8b4557
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Mon Feb 13 19:00:47 2017 +0900

    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 69c371a..30074d6 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;

-- 


Reply via email to