components/desktop/pidgin/patches/pidgin-20-fix-sigalrm.patch
changeset 7277 a51b37054c45
parent 7276 eae106639cae
child 7278 89aa34de7ca6
--- a/components/desktop/pidgin/patches/pidgin-20-fix-sigalrm.patch	Wed Nov 09 09:06:55 2016 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-The sighandler() function in pidgin/gtkmain.c doesn't restore a SIGALRM
-handler.
-
-See: https://developer.pidgin.im/ticket/7902
-
-This was closed as fixed, but that doesn't seem to be the case.
-
---- pidgin-2.11.0/pidgin/gtkmain.c.orig	2016-08-25 15:00:41.875707111 +0000
-+++ pidgin-2.11.0/pidgin/gtkmain.c	2016-08-25 15:02:50.909744713 +0000
-@@ -229,13 +229,17 @@
- 		alarm(1);
- 		break;
- 	case SIGALRM:
-+		clean_pid();
-+		/* Restore signal catching */
-+		signal(SIGALRM, sighandler);
-+		break;
- #else
- 	case SIGCHLD:
--#endif
- 		clean_pid();
- 		/* Restore signal catching */
- 		signal(SIGCHLD, sighandler);
- 		break;
-+#endif
- 	default:
- 		purple_debug_warning("sighandler", "Caught signal %d\n", sig);
- 		purple_core_quit();