mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3151
This commit is contained in:
parent
4af45526ce
commit
6d71cca459
|
@ -10812,4 +10812,4 @@ Rom Mar 24 2004
|
|||
makefile.am
|
||||
lib/
|
||||
diagnostics.c
|
||||
exception.h
|
||||
exception.c, .h
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
#endif
|
||||
|
||||
#include "diagnostics.h"
|
||||
#include "error_numbers.h"
|
||||
#include "filesys.h"
|
||||
#include "util.h"
|
||||
|
||||
|
@ -476,7 +477,7 @@ void boinc_set_signal_handler_force(int sig, RETSIGTYPE (*handler)(int)) {
|
|||
sigaction(sig, &temp, NULL);
|
||||
#else
|
||||
void (*temp)(int);
|
||||
temp = signal(sig, boinc_catch_signal);
|
||||
temp = signal(sig, handler);
|
||||
signal(sig, SIG_IGN);
|
||||
#endif /* HAVE_SIGACTION */
|
||||
}
|
||||
|
@ -499,10 +500,11 @@ RETSIGTYPE boinc_catch_signal(int signal) {
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
void boinc_quit(int sig) {
|
||||
signal(SIGQUIT, boinc_quit); // reset signal
|
||||
time_to_quit = true;
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
#endif
|
||||
|
|
|
@ -21,6 +21,10 @@
|
|||
#include "stdafx.h"
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32
|
||||
#include "stdlib.h"
|
||||
#endif
|
||||
|
||||
#include "exception.h"
|
||||
#include "error_numbers.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue