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
|
makefile.am
|
||||||
lib/
|
lib/
|
||||||
diagnostics.c
|
diagnostics.c
|
||||||
exception.h
|
exception.c, .h
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "diagnostics.h"
|
#include "diagnostics.h"
|
||||||
|
#include "error_numbers.h"
|
||||||
#include "filesys.h"
|
#include "filesys.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
||||||
|
@ -476,7 +477,7 @@ void boinc_set_signal_handler_force(int sig, RETSIGTYPE (*handler)(int)) {
|
||||||
sigaction(sig, &temp, NULL);
|
sigaction(sig, &temp, NULL);
|
||||||
#else
|
#else
|
||||||
void (*temp)(int);
|
void (*temp)(int);
|
||||||
temp = signal(sig, boinc_catch_signal);
|
temp = signal(sig, handler);
|
||||||
signal(sig, SIG_IGN);
|
signal(sig, SIG_IGN);
|
||||||
#endif /* HAVE_SIGACTION */
|
#endif /* HAVE_SIGACTION */
|
||||||
}
|
}
|
||||||
|
@ -499,10 +500,11 @@ RETSIGTYPE boinc_catch_signal(int signal) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
void boinc_quit(int sig) {
|
void boinc_quit(int sig) {
|
||||||
signal(SIGQUIT, boinc_quit); // reset signal
|
signal(SIGQUIT, boinc_quit); // reset signal
|
||||||
time_to_quit = true;
|
time_to_quit = true;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -21,6 +21,10 @@
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef _WIN32
|
||||||
|
#include "stdlib.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "exception.h"
|
#include "exception.h"
|
||||||
#include "error_numbers.h"
|
#include "error_numbers.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue