Commit 22f68219 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Port to HP-UX: Use SA_RESTART except while calling select().

parent 06a2a006
2002-10-26 Per Cederqvist <ceder@ceder.dyndns.org>
Port to HP-UX: Use SA_RESTART except while calling select().
* src/server/sigflags.h (restart_syscalls_on_intr): New function.
(intr_syscalls_on_intr): New function.
* src/server/ramkomd.c (setup_sighandlers): New function. Use
SA_RESTART if the "restartable" argument is true.
(restart_syscalls_on_intr): New function.
(intr_syscalls_on_intr): New function.
(main): Move signal handler setup to setup_sighandlers().
* src/server/connections.c (toploop): Call intr_syscalls_on_intr()
before calling isc_getnextevent, and restart_syscalls_on_intr()
immediately after its return.
2002-10-26 Per Cederqvist <ceder@lysator.liu.se>
Port to SunOS 4.1.1_U1 that lacks SA_RESTART.
......
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