Small nscd Sighandler fix
Thorsten Kukuk
kukuk@suse.de
Fri Feb 20 13:46:00 GMT 2004
Hi,
here is a small fix for the nscd signal handler. With exit() called,
nscd will exit with a seg.fault.
2004-02-20 Thorsten Kukuk <kukuk@suse.de>
* nscd/nscd.c (termination_handler): Use _exit instead of exit
--- nscd/nscd.c 17 Feb 2004 05:15:31 -0000 1.30
+++ nscd/nscd.c 19 Feb 2004 13:19:55 -0000
@@ -400,7 +400,7 @@
/* Clean up pid file. */
unlink (_PATH_NSCDPID);
- exit (EXIT_SUCCESS);
+ _exit (EXIT_SUCCESS);
}
/* Returns 1 if the process in pid file FILE is running, 0 if not. */
--
Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de
SuSE Linux AG Maxfeldstr. 5 D-90409 Nuernberg
--------------------------------------------------------------------
Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B
More information about the Libc-alpha
mailing list