Jan Vroonhof wrote:
> 1 select(5, [0 3 4], NULL, NULL, NULL <unfinished
...>
> 2 --- SIGHUP (Hangup) ---
> 3 --- SIGCONT (Continued) ---
> 4 <... select resumed> ) = -1 ENOSYS (Function not
implemented)
It is getting the SIGHUP but it is not dying... (Are signal handler
settings preseverd over fork/xexec.
According to Stevens[1]:
a) All signal dispositions are inherited across a fork().
b) exec() resets any signal for which a handler is installed to its
default disposition. Any signal which was ignored remains so.
--
Glynn Clements <glynn(a)sensei.co.uk>
[1] Advanced Programming in the Unix Environment,
W Richard Stevens
Addison-Wesley