Mercurial > pidgin
comparison libpurple/util.c @ 15661:80944a182710
SIGEMT is not available on non-POSIX systems; SIGPOLL is present, instead. Thanks to Richard for catching this.
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Mon, 19 Feb 2007 04:52:43 +0000 |
parents | 61b42cf81aa4 |
children | fc981ec147a6 b5c5fbe365d2 |
comparison
equal
deleted
inserted
replaced
15660:afa4230ccdd2 | 15661:80944a182710 |
---|---|
4122 signal(SIGINT, SIG_DFL); /* 2: interrupt program */ | 4122 signal(SIGINT, SIG_DFL); /* 2: interrupt program */ |
4123 signal(SIGQUIT, SIG_DFL); /* 3: quit program */ | 4123 signal(SIGQUIT, SIG_DFL); /* 3: quit program */ |
4124 signal(SIGILL, SIG_DFL); /* 4: illegal instruction (not reset when caught) */ | 4124 signal(SIGILL, SIG_DFL); /* 4: illegal instruction (not reset when caught) */ |
4125 signal(SIGTRAP, SIG_DFL); /* 5: trace trap (not reset when caught) */ | 4125 signal(SIGTRAP, SIG_DFL); /* 5: trace trap (not reset when caught) */ |
4126 signal(SIGABRT, SIG_DFL); /* 6: abort program */ | 4126 signal(SIGABRT, SIG_DFL); /* 6: abort program */ |
4127 signal(SIGEMT, SIG_DFL); /* 7: EMT instruction */ | 4127 |
4128 #ifdef SIGPOLL | |
4129 signal(SIGPOLL, SIG_DFL); /* 7: pollable event (POSIX) */ | |
4130 #endif /* SIGPOLL */ | |
4131 | |
4132 #ifdef SIGEMT | |
4133 signal(SIGEMT, SIG_DFL); /* 7: EMT instruction (Non-POSIX) */ | |
4134 #endif /* SIGEMT */ | |
4135 | |
4128 signal(SIGFPE, SIG_DFL); /* 8: floating point exception */ | 4136 signal(SIGFPE, SIG_DFL); /* 8: floating point exception */ |
4129 signal(SIGBUS, SIG_DFL); /* 10: bus error */ | 4137 signal(SIGBUS, SIG_DFL); /* 10: bus error */ |
4130 signal(SIGSEGV, SIG_DFL); /* 11: segmentation violation */ | 4138 signal(SIGSEGV, SIG_DFL); /* 11: segmentation violation */ |
4131 signal(SIGSYS, SIG_DFL); /* 12: bad argument to system call */ | 4139 signal(SIGSYS, SIG_DFL); /* 12: bad argument to system call */ |
4132 signal(SIGPIPE, SIG_DFL); /* 13: write on a pipe with no reader */ | 4140 signal(SIGPIPE, SIG_DFL); /* 13: write on a pipe with no reader */ |
4133 signal(SIGALRM, SIG_DFL); /* 14: real-time timer expired */ | 4141 signal(SIGALRM, SIG_DFL); /* 14: real-time timer expired */ |
4134 signal(SIGTERM, SIG_DFL); /* 15: software termination signal */ | 4142 signal(SIGTERM, SIG_DFL); /* 15: software termination signal */ |
4135 signal(SIGCHLD, SIG_DFL); /* 20: child status has changed */ | 4143 signal(SIGCHLD, SIG_DFL); /* 20: child status has changed */ |
4136 signal(SIGXCPU, SIG_DFL); /* 24: exceeded CPU time limit */ | 4144 signal(SIGXCPU, SIG_DFL); /* 24: exceeded CPU time limit */ |
4137 signal(SIGXFSZ, SIG_DFL); /* 25: exceeded file size limit */ | 4145 signal(SIGXFSZ, SIG_DFL); /* 25: exceeded file size limit */ |
4138 #endif | 4146 #endif /* HAVE_SIGNAL_H */ |
4139 } | 4147 } |