defined.
* main.c (request_hup): Remove call to signal, as this isn't
needed on BSD-ish systems and for sysV-ish systems we use
sigaction anyway.
(setup_signal_handlers): Fix typo.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10648
dc483132-0cff-0310-8789-
dd5450dbe970
+Wed Jul 15 18:32:07 1998 Tom Yu <tlyu@mit.edu>
+
+ * configure.in: Add CHECK_SIGNALS so that POSIX_SIGNALS gets
+ defined.
+
+ * main.c (request_hup): Remove call to signal, as this isn't
+ needed on BSD-ish systems and for sysV-ish systems we use
+ sigaction anyway.
+ (setup_signal_handlers): Fix typo.
+
Sat Jul 11 01:38:05 1998 Geoffrey King <gjking@mit.edu>
* main.c: Added a call to signal() in request_hup()
AC_CHECK_HEADERS(syslog.h stdarg.h sys/select.h)
AC_CHECK_FUNCS(openlog syslog closelog strftime vsprintf)
AC_PROG_AWK
+CHECK_SIGNALS
HAS_ANSI_VOLATILE
dnl
dnl --with-vague-errors disables useful error messages.
int signo;
{
signal_requests_hup = 1;
-#ifndef POSIX_SIGNALS
- signal(SIGHUP, request_hup); /* System V's signal() requires
- resetting each time */
-#endif
#ifdef POSIX_SIGTYPE
return;
{
#ifdef POSIX_SIGNALS
(void) sigemptyset(&s_action.sa_mask);
- s_action.saflags = 0;
+ s_action.sa_flags = 0;
s_action.sa_handler = request_exit;
(void) sigaction(SIGINT, &s_action, (struct sigaction *) NULL);
(void) sigaction(SIGTERM, &s_action, (struct sigaction *) NULL);