Mercurial > pidgin
comparison src/aim.c @ 3076:a7e03c5d2205
[gaim-migrate @ 3090]
CLeaner PID stuff. Thanks, BMIller :)
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Sun, 17 Mar 2002 22:23:18 +0000 |
parents | 7239a392486c |
children | da324fe688b3 |
comparison
equal
deleted
inserted
replaced
3075:c0928d7fdcf9 | 3076:a7e03c5d2205 |
---|---|
403 WEBSITE "gdb.php. If you need further\n" | 403 WEBSITE "gdb.php. If you need further\n" |
404 "assistance, please IM either RobFlynn or SeanEgn and\n" | 404 "assistance, please IM either RobFlynn or SeanEgn and\n" |
405 "they can help you.\n"); | 405 "they can help you.\n"); |
406 #endif | 406 #endif |
407 abort(); | 407 abort(); |
408 break; | |
409 case SIGCHLD: | |
410 clean_pid(); | |
408 break; | 411 break; |
409 default: | 412 default: |
410 debug_printf("caught signal %d\n", sig); | 413 debug_printf("caught signal %d\n", sig); |
411 gtkspell_stop(); | 414 gtkspell_stop(); |
412 signoff_all(NULL, NULL); | 415 signoff_all(NULL, NULL); |
574 signal(SIGHUP, sighandler); | 577 signal(SIGHUP, sighandler); |
575 signal(SIGINT, sighandler); | 578 signal(SIGINT, sighandler); |
576 signal(SIGTERM, sighandler); | 579 signal(SIGTERM, sighandler); |
577 signal(SIGQUIT, sighandler); | 580 signal(SIGQUIT, sighandler); |
578 signal(SIGPIPE, SIG_IGN); | 581 signal(SIGPIPE, SIG_IGN); |
582 signal(SIGCHLD, sighandler); | |
579 #endif | 583 #endif |
580 | 584 |
581 | 585 |
582 #ifdef USE_APPLET | 586 #ifdef USE_APPLET |
583 init_applet_mgr(argc, argv); | 587 init_applet_mgr(argc, argv); |