changeset 13913:4661eefa0840

[gaim-migrate @ 16413] As discussed on gaim-devel, use _exit() rather than exit() when exiting the dns resolver forked process. This matches the call used in gaim's own proxy.c and prevents a (fairly ridiculous) crash in the atexit() handler installed by Apple's Address Book framework on OS X. committer: Tailor Script <tailor@pidgin.im>
author Evan Schoenberg <evan.s@dreskin.net>
date Mon, 03 Jul 2006 18:28:13 +0000
parents 3d1cee0d360d
children 3ae8a3935406
files src/protocols/gg/lib/libgadu.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/gg/lib/libgadu.c	Mon Jul 03 05:37:41 2006 +0000
+++ b/src/protocols/gg/lib/libgadu.c	Mon Jul 03 18:28:13 2006 +0000
@@ -1,4 +1,4 @@
-/* $Id: libgadu.c 14520 2005-11-25 00:32:45Z rlaager $ */
+/* $Id: libgadu.c 16413 2006-07-03 18:28:13Z evands $ */
 
 /*
  *  (C) Copyright 2001-2003 Wojtek Kaniewski <wojtekka@irc.pl>
@@ -81,7 +81,7 @@
 #ifdef __GNUC__
 __attribute__ ((unused))
 #endif
-= "$Id: libgadu.c 14520 2005-11-25 00:32:45Z rlaager $";
+= "$Id: libgadu.c 16413 2006-07-03 18:28:13Z evands $";
 #endif 
 
 #ifdef _WIN32
@@ -357,7 +357,7 @@
 
 		write(pipes[1], &a, sizeof(a));
 
-		exit(0);
+		_exit(0);
 	}
 
 	close(pipes[1]);