(start_server, empth_start): Passed uninitialized sa_mask to

sigaction().  This used to broken only when SA_SIGINFO wasn't defined,
until main.c rev. 1.46 and pthread.c rev. 1.10 broke it
unconditionally.
This commit is contained in:
Markus Armbruster 2005-11-08 21:42:38 +00:00
parent 66201f9d45
commit fd237f1722
2 changed files with 2 additions and 0 deletions

View file

@ -97,6 +97,7 @@ empth_start(void *arg)
struct sigaction act;
/* actually it should inherit all this from main but... */
act.sa_flags = 0;
sigemptyset(&act.sa_mask);
act.sa_handler = shutdwn;
sigaction(SIGTERM, &act, NULL);