Parent Directory | Revision Log | Patch
revision 1.36 by lefcha, Sun Aug 3 17:40:10 2003 UTC | revision 1.36.2.3 by lefcha, Sat Nov 8 17:00:12 2003 UTC | |
---|---|---|
# | Line 4 | Line 4 |
4 | #include <errno.h> | #include <errno.h> |
5 | #include <stdarg.h> | #include <stdarg.h> |
6 | #include <limits.h> | #include <limits.h> |
#include <signal.h> | ||
7 | #include <sys/types.h> | #include <sys/types.h> |
8 | #include <sys/stat.h> | #include <sys/stat.h> |
#include <fcntl.h> | ||
9 | #include <time.h> | #include <time.h> |
10 | #include <signal.h> | |
11 | ||
12 | #include "config.h" | #include "config.h" |
13 | #include "imapfilter.h" | #include "imapfilter.h" |
# | Line 123 catch_signals(void) | Line 122 catch_signals(void) |
122 | void | void |
123 | signal_handler(int sig) | signal_handler(int sig) |
124 | { | { |
125 | if (sig == SIGUSR1) { | if (sig == SIGUSR1) |
126 | flags |= FLAG_SIGUSR1_RECEIVED; | flags |= FLAG_SIGUSR1_RECEIVED; |
127 | } else | else |
128 | fatal(ERROR_SIGNAL, "killed by signal %d\n", sig); | fatal(ERROR_SIGNAL, "killed by signal %d\n", sig); |
129 | } | } |
130 |
|
webmaster@linux.gr | ViewVC Help |
Powered by ViewVC 1.1.26 |