From 8abfefd1e806aff3b86c7cb60be6cd4f45264d21 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 17 Oct 2012 20:10:44 +0800 Subject: [PATCH] always taking an interest in ppid wont hurt Signed-off-by: Andy Green --- lib/libwebsockets.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } -- 2.7.4