[gaim-migrate @ 16413]

Mon, 03 Jul 2006 18:28:13 +0000

author
Evan Schoenberg <evands@pidgin.im>
date
Mon, 03 Jul 2006 18:28:13 +0000
changeset 13975
2f4643f6c9a3
parent 13974
c6ff47f81057
child 13976
2543396bd00e

[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.

src/protocols/gg/lib/libgadu.c file | annotate | diff | comparison | revisions
--- 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]);

mercurial