Commit 38a3371c authored by Per Cederqvist's avatar Per Cederqvist

Signal handling improvements.

parent 14d60276
Tue Jul 30 16:26:38 1996 Per Cederqvist <ceder@lysator.liu.se>
* configure.in: Don't use "-ansi" in compilations -- it appears to
be impossible to get both struct sigaction and struct linger on
SunOS 5.4 with it.
(HAVE_STRUCT_SIGACTION): Define it if struct sigaction can be found.
(_POSIX_SOURCE): Define it if needed to get struct sigaction.
Mon Jul 29 00:11:06 1996 Per Cederqvist <ceder@lysator.liu.se>
* configure.in (HAVE_ATTRIBUTE_FORMAT_PRINTF): Define it if the
......
Tue Jul 30 16:31:03 1996 Per Cederqvist <ceder@lysator.liu.se>
* ramkomd.c (server_init): Use sigaction instead of signal if
available.
(go_daemon): Likewise.
(main): Likewise.
(sighandler_hup): Don't reinstall the signal if sigaction is
available.
(sighandler_usr1): Likewise.
(sighandler_usr2): Likewise.
Mon Jul 29 01:30:17 1996 Per Cederqvist <ceder@lysator.liu.se>
* Handle sysv signal semantics:
* ramkomd.c (sighandler_hup): Reinstall the SIGHUP handler.
(sighandler_usr2): Reinstall the SIGHUSR2 handler.
* simple-cache.c (init_cache): The local loop variable 'i' must be
a long, so that a Text_no fits. The local variables done,
read_text_no and read_conf_no are now of type Bool (not int).
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment