comparison pidgin/gtkmain.c @ 27737:a9cb48039d3b

propagate from branch 'im.pidgin.pidgin' (head 2c3b326b7734ae5211bccc072469632b5b560151) to branch 'im.pidgin.pidgin.yaz' (head 84cfaa9f49f4017d8e890978ae333a7323a51062)
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sat, 24 Nov 2007 05:42:55 +0000
parents 98604b4bfa3b
children e13759a83714
comparison
equal deleted inserted replaced
21630:1c34b63076df 27737:a9cb48039d3b
213 switch (sig) { 213 switch (sig) {
214 case SIGHUP: 214 case SIGHUP:
215 purple_debug_warning("sighandler", "Caught signal %d\n", sig); 215 purple_debug_warning("sighandler", "Caught signal %d\n", sig);
216 purple_connections_disconnect_all(); 216 purple_connections_disconnect_all();
217 break; 217 break;
218 #if 1
218 case SIGSEGV: 219 case SIGSEGV:
219 fprintf(stderr, "%s", segfault_message); 220 fprintf(stderr, "%s", segfault_message);
220 abort(); 221 abort();
221 break; 222 break;
223 #endif
222 case SIGCHLD: 224 case SIGCHLD:
223 /* Restore signal catching */ 225 /* Restore signal catching */
224 signal(SIGCHLD, sighandler); 226 signal(SIGCHLD, sighandler);
225 alarm(1); 227 alarm(1);
226 break; 228 break;