From: Andy Green Date: Wed, 17 Oct 2012 12:10:44 +0000 (+0800) Subject: always taking an interest in ppid wont hurt X-Git-Tag: accepted/2.0/20130307.220733~339 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F22%2F2822%2F1;p=profile%2Fivi%2Flibwebsockets.git always taking an interest in ppid wont hurt Signed-off-by: Andy Green --- diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c index 2f5b4d0..c64f245 100644 --- a/lib/libwebsockets.c +++ b/lib/libwebsockets.c @@ -3032,7 +3032,7 @@ libwebsockets_fork_service_loop(struct libwebsocket_context *context) while (1) { if (libwebsocket_service(context, 1000)) break; -#ifndef HAVE_SYS_PRCTL_H +//#ifndef HAVE_SYS_PRCTL_H /* * on systems without prctl() (i.e. anything but linux) we can notice that our * parent is dead if getppid() returns 1. FIXME apparently this is not true for @@ -3041,7 +3041,7 @@ libwebsockets_fork_service_loop(struct libwebsocket_context *context) if (getppid() == 1) break; -#endif +//#endif }