hack to prevent stale children

2.2
Richard Fuchs 12 years ago
parent a37bd78355
commit 2784cb41a3

@ -609,6 +609,8 @@ retry:
} }
/* child process */ /* child process */
alarm(1); /* syslog functions contain a lock, which may be locked at
this point and can't be unlocked */
rlim(RLIMIT_CORE, 0); rlim(RLIMIT_CORE, 0);
sigemptyset(&ss); sigemptyset(&ss);
sigprocmask(SIG_SETMASK, &ss, NULL); sigprocmask(SIG_SETMASK, &ss, NULL);

Loading…
Cancel
Save