mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=1306
This commit is contained in:
parent
81e0a65ae2
commit
07b3d2aeaf
|
@ -397,6 +397,7 @@ int read_ppm_file(char* name, int& w, int& h, unsigned char** arrayp) {
|
|||
int i;
|
||||
|
||||
f = fopen(name, "rb");
|
||||
if (!f) return -1;
|
||||
do {fgets(buf, 256, f);} while (buf[0] == '#');
|
||||
if (buf[0] != 'P') {
|
||||
return -1;
|
||||
|
|
|
@ -144,7 +144,9 @@ int main(int argc, char** argv) {
|
|||
signal(SIGHUP, quit_client);
|
||||
signal(SIGINT, quit_client);
|
||||
signal(SIGQUIT, quit_client);
|
||||
#ifdef SIGPWR
|
||||
signal(SIGPWR, quit_client);
|
||||
#endif
|
||||
signal(SIGTSTP, susp_client);
|
||||
signal(SIGCONT, resume_client);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue