*** empty log message ***

svn path=/trunk/boinc/; revision=3151
This commit is contained in:
Rom Walton 2004-03-24 20:53:43 +00:00
parent 4af45526ce
commit 6d71cca459
3 changed files with 9 additions and 3 deletions

View File

@ -10812,4 +10812,4 @@ Rom Mar 24 2004
makefile.am
lib/
diagnostics.c
exception.h
exception.c, .h

View File

@ -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

View File

@ -21,6 +21,10 @@
#include "stdafx.h"
#endif
#ifndef _WIN32
#include "stdlib.h"
#endif
#include "exception.h"
#include "error_numbers.h"