cpw.gillux.detachablepurple: b00725da: Purple daemon has now debug enabled by d...
gillux at soc.pidgin.im
gillux at soc.pidgin.im
Thu May 19 16:21:32 EDT 2011
----------------------------------------------------------------------
Revision: b00725dab3db4f2762129480f04b82b16d5f05a5
Parent: 73e0c7d4f6c1288146f17df7f344b318795b0c9b
Author: gillux at soc.pidgin.im
Date: 05/19/11 16:08:23
Branch: im.pidgin.cpw.gillux.detachablepurple
URL: http://d.pidgin.im/viewmtn/revision/info/b00725dab3db4f2762129480f04b82b16d5f05a5
Changelog:
Purple daemon has now debug enabled by default.
SIGCHLD no more ignored, as it breaks gdbus.
Changes against parent 73e0c7d4f6c1288146f17df7f344b318795b0c9b
patched purpled/purpled.c
-------------- next part --------------
============================================================
--- purpled/purpled.c 9e21ddf32769d6b7748bbb32169021d61832213f
+++ purpled/purpled.c 5059b7044a8f1f32efffc87b687d0de8836d4250
@@ -109,6 +109,9 @@ init_libpurple(void)
purple_eventloop_set_ui_ops(&glib_eventloops);
purpled_accounts_init();
+ /* I believe it is handy to have debug by default. */
+ purple_debug_set_enabled(TRUE);
+
/* Activate daemon mode! */
purple_core_set_running_mode(PURPLE_RUN_DAEMON_MODE);
@@ -123,15 +126,6 @@ main(int argc, char **argv)
{
GMainLoop *loop = g_main_loop_new(NULL, FALSE);
-#ifndef _WIN32
- /* libpurple's built-in DNS resolution forks processes to perform
- * blocking lookups without blocking the main process. It does not
- * handle SIGCHLD itself, so if the UI does not you quickly get an army
- * of zombie subprocesses marching around.
- */
- signal(SIGCHLD, SIG_IGN);
-#endif
-
init_libpurple();
purple_eventloop_set_ui_ops(&glib_eventloops);
More information about the Commits
mailing list