comparison src/aim.c @ 1548:c867a2123830

[gaim-migrate @ 1558] ignore SIGPIPE committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 08 Mar 2001 22:15:44 +0000
parents 558b3f0fb227
children 5e54c7a2a394
comparison
equal deleted inserted replaced
1547:7b50a08090a2 1548:c867a2123830
395 "Please make sure to specify what you were doing at the time,\n" 395 "Please make sure to specify what you were doing at the time,\n"
396 "and post the backtrace from the core file (if you do not know\n" 396 "and post the backtrace from the core file (if you do not know\n"
397 "how to get the backtrace, please IM either EWarmenhoven or\n" 397 "how to get the backtrace, please IM either EWarmenhoven or\n"
398 "RobFlynn and they can instruct you).\n"); 398 "RobFlynn and they can instruct you).\n");
399 abort(); 399 abort();
400 break;
401 case SIGPIPE:
402 /* FIXME: we should be checking to see which connection died. maybe add
403 * something to struct prpl to have it check its connections? */
404 break; 400 break;
405 default: 401 default:
406 gtk_main_quit(); 402 gtk_main_quit();
407 exit(0); 403 exit(0);
408 } 404 }
451 #if HAVE_SIGNAL_H 447 #if HAVE_SIGNAL_H
452 /* Let's not violate any PLA's!!!! */ 448 /* Let's not violate any PLA's!!!! */
453 signal(SIGSEGV, sighandler); 449 signal(SIGSEGV, sighandler);
454 signal(SIGHUP, sighandler); 450 signal(SIGHUP, sighandler);
455 signal(SIGINT, sighandler); 451 signal(SIGINT, sighandler);
456 signal(SIGPIPE, sighandler); 452 signal(SIGPIPE, SIG_IGN);
457 #endif 453 #endif
458 454
459 455
460 #ifdef USE_APPLET 456 #ifdef USE_APPLET
461 init_applet_mgr(argc, argv); 457 init_applet_mgr(argc, argv);