On Mon, 2014-03-17 at 10:02 -0700, Howard Chu wrote:
Hallvard Breien Furuseth wrote:
On Sat, 2014-03-15 at 17:09 +0100, Christian Kratzer wrote:
you are sseing is from slapd receiving a HUP signal, so something must be sending it.
HUP, INT, TERM or TRAP. TRAP is for debugging, not sure why that's included. Or SIGBREAK if it is defined and HAVE_NT_SERVICE_MANAGER is not. Looks like some Windows thing. Maybe it should only be included if defined(HAVE_NT_SERVICE_MANAGER).
I think you've misread something, SIGBREAK is already #if defined(HAVE_NT_SERVICE_MANAGER).
No, I phrased it badly. main.c sets a SIGBREAK handler if SIGBREAK exists. Then the signal handler sets slapd_shutdown if !defined(HAVE_NT_SERVICE_MANAGER). Could be intentional, that could be what the comment in slap_sig_shutdown() means.