Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
4c5c632d
Commit
4c5c632d
authored
Oct 15, 2003
by
Howard Chu
Browse files
ITS
#2769
- NT SIGBREAK handling
parent
f6c1163e
Changes
1
Show whitespace changes
Inline
Side-by-side
servers/slapd/daemon.c
View file @
4c5c632d
...
...
@@ -2077,19 +2077,11 @@ slap_sig_shutdown( int sig )
* SIGBREAK is generated when a user logs out.
*/
#if 0
#if HAVE_NT_SERVICE_MANAGER && SIGBREAK
if
(
is_NT_Service
&&
sig
==
SIGBREAK
)
#ifdef NEW_LOGGING
LDAP_LOG( CONNECTION, CRIT,
"slap_sig_shutdown: SIGBREAK ignored.\n", 0, 0, 0 );
#else
Debug(LDAP_DEBUG_TRACE, "slap_sig_shutdown: SIGBREAK ignored.\n",
0, 0, 0);
#endif
;
else
#endif
#endif
#ifdef SIGHUP
if
(
sig
==
SIGHUP
&&
global_gentlehup
&&
slapd_gentle_shutdown
==
0
)
slapd_gentle_shutdown
=
1
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment