# HG changeset patch # User Paul Aurich # Date 1276565534 0 # Node ID e4c57ecc54ee2073ebd9c112a009f6c8d792a190 # Parent 72d9caae440698d9b7914078645950310a4c12f9 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. diff -r 72d9caae4406 -r e4c57ecc54ee libpurple/protocols/gg/lib/resolver.c --- a/libpurple/protocols/gg/lib/resolver.c Mon Jun 14 22:23:33 2010 +0000 +++ b/libpurple/protocols/gg/lib/resolver.c Tue Jun 15 01:32:14 2010 +0000 @@ -551,9 +551,9 @@ } if (write(pipes[1], &addr, sizeof(addr)) != sizeof(addr)) - exit(1); + _exit(1); - exit(0); + _exit(0); } close(pipes[1]);