changeset 30616:e4c57ecc54ee

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.
author Paul Aurich <paul@darkrain42.org>
date Tue, 15 Jun 2010 01:32:14 +0000
parents 72d9caae4406
children bb835d43f29f
files libpurple/protocols/gg/lib/resolver.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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]);