/srv/mercurial-server/detachablepurple: 7115cbd167bd: Purple dae...
Gilles Bedel
gillux at cpw.pidgin.im
Fri Jun 15 22:01:30 EDT 2012
Changeset: 7115cbd167bdc97b0b7f530046bfc064c330b60a
Author: Gilles Bedel <gillux at cpw.pidgin.im>
Date: 2011-05-19 20:08 +0000
Branch: cpw.gillux.detachablepurple
URL: http://hg.pidgin.im/srv/mercurial-server/detachablepurple/rev/7115cbd167bd
Description:
Purple daemon has now debug enabled by default.
SIGCHLD no more ignored, as it breaks gdbus.
diffstat:
purpled/purpled.c | 12 +++---------
1 files changed, 3 insertions(+), 9 deletions(-)
diffs (29 lines):
diff --git a/purpled/purpled.c b/purpled/purpled.c
--- a/purpled/purpled.c
+++ b/purpled/purpled.c
@@ -109,6 +109,9 @@
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 @@
{
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