# HG changeset patch # User Evan Schoenberg # Date 1151951293 0 # Node ID 4661eefa0840be25aec34cf3ee44f68a7721323e # Parent 3d1cee0d360db1be6622420ca03d6623182bc067 [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 diff -r 3d1cee0d360d -r 4661eefa0840 src/protocols/gg/lib/libgadu.c --- 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 @@ -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]);