X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FDaemon%2FDaemon.cc;h=e5ed13b3b001c2cd6ddf81a9cf2bff823090768b;hb=79615f135540eb93e24ac7720a9fecb08fba2842;hp=b84e7590fc964bb646a0e77e0d218011aaa9753f;hpb=da70cacdbf91e4c6d8a0cf22ad7a9edbd6335805;p=senf.git diff --git a/senf/Utils/Daemon/Daemon.cc b/senf/Utils/Daemon/Daemon.cc index b84e759..e5ed13b 100644 --- a/senf/Utils/Daemon/Daemon.cc +++ b/senf/Utils/Daemon/Daemon.cc @@ -569,7 +569,9 @@ prefix_ void senf::Daemon::installSighandlers() ::sigaction(SIGFPE, &sa, NULL); ::sigaction(SIGBUS, &sa, NULL); ::sigaction(SIGSEGV, &sa, NULL); +#ifdef SIGSTKFLT //SIGSTKFLT is used for stack faults on coprocessors. That condition doesn't exist on MIPS ::sigaction(SIGSTKFLT, &sa, NULL); +#endif ::sigaction(SIGSYS, &sa, NULL); ::sigaction(SIGUSR2, &sa, NULL); #endif