]> git.pld-linux.org Git - packages/pdnsd.git/blob - pdnsd-threads_signals.patch
- update to 1.2.1; run as pdnsd user
[packages/pdnsd.git] / pdnsd-threads_signals.patch
1 diff -u -r1.3 thread.h
2 --- src/thread.h        19 May 2001 14:57:30 -0000      1.3
3 +++ src/thread.h        23 Jun 2002 11:23:35 -0000
4 @@ -44,6 +44,7 @@
5   * under Linux. Also, sigwait() does not seem to work as indicated in the docs */
6  #if TARGET==TARGET_LINUX
7  #define THREAD_SIGINIT do { pthread_sigmask(SIG_UNBLOCK,&sigs_msk,NULL);  \
8 +                             signal(SIGINT,thread_sig);                    \
9                               signal(SIGILL,thread_sig);                    \
10                              signal(SIGABRT,thread_sig);                   \
11                              signal(SIGFPE,thread_sig);                    \
12 @@ -51,6 +52,7 @@
13                              signal(SIGTSTP,thread_sig);                   \
14                               signal(SIGTTOU,thread_sig);                   \
15                              signal(SIGTTIN,thread_sig);                   \
16 +                             signal(SIGTERM, thread_sig);                  \
17                               signal(SIGPIPE, SIG_IGN);                     \
18                          } while (0);
19  
This page took 0.115306 seconds and 3 git commands to generate.