adium.1-4: 05de2208: *** Plucked rev 4dfc05ac6d6ae070920c0297...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Tue Jun 15 16:15:51 EDT 2010


-----------------------------------------------------------------
Revision: 05de220897399efab7e75a020a1be564e7f0a233
Ancestor: fa7af7557f09b92cf55a6a813fd980e7c25e1a7b
Author: darkrain42 at pidgin.im
Date: 2010-06-15T20:11:26
Branch: im.pidgin.adium.1-4
URL: http://d.pidgin.im/viewmtn/revision/info/05de220897399efab7e75a020a1be564e7f0a233

Modified files:
        libpurple/protocols/gg/lib/resolver.c

ChangeLog: 

*** Plucked rev 4dfc05ac6d6ae070920c029799fb08b7e3b08973 (darkrain42 at pidgin.im):
gg: s/exit/_exit/ in the resolver fork() code

This fixes some crashes in Adium because various OS X libraries
use (P)threads and add atexit() hooks.


-------------- next part --------------
============================================================
--- libpurple/protocols/gg/lib/resolver.c	0f9fc890ab9c40208b1a79fd8097cda62e463dbf
+++ libpurple/protocols/gg/lib/resolver.c	c4d5a0afeb860382a400277e7cdf7ba9552ceeab
@@ -551,9 +551,9 @@ static int gg_resolver_fork_start(int *f
 		}
 
 		if (write(pipes[1], &addr, sizeof(addr)) != sizeof(addr))
-			exit(1);
+			_exit(1);
 
-		exit(0);
+		_exit(0);
 	}
 
 	close(pipes[1]);


More information about the Commits mailing list