Mercurial > pidgin.yaz
comparison pidgin/gtkmain.c @ 25478:f444605c27b6
propagate from branch 'im.pidgin.pidgin' (head a78e36058a13ec01e5cb75f8badbf2585519b0e0)
to branch 'im.pidgin.pidgin.yaz' (head e7f401ccaaa979509d744d1fba49075a9b5f0676)
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Thu, 03 May 2007 10:14:49 +0000 |
parents | 096330f964b6 |
children | 50a9c82d32a1 |
comparison
equal
deleted
inserted
replaced
16818:f7466b0379e8 | 25478:f444605c27b6 |
---|---|
205 switch (sig) { | 205 switch (sig) { |
206 case SIGHUP: | 206 case SIGHUP: |
207 purple_debug_warning("sighandler", "Caught signal %d\n", sig); | 207 purple_debug_warning("sighandler", "Caught signal %d\n", sig); |
208 purple_connections_disconnect_all(); | 208 purple_connections_disconnect_all(); |
209 break; | 209 break; |
210 #if 1 | |
210 case SIGSEGV: | 211 case SIGSEGV: |
211 fprintf(stderr, "%s", segfault_message); | 212 fprintf(stderr, "%s", segfault_message); |
212 abort(); | 213 abort(); |
213 break; | 214 break; |
215 #endif | |
214 case SIGCHLD: | 216 case SIGCHLD: |
215 /* Restore signal catching */ | 217 /* Restore signal catching */ |
216 signal(SIGCHLD, sighandler); | 218 signal(SIGCHLD, sighandler); |
217 alarm(1); | 219 alarm(1); |
218 break; | 220 break; |