We should use _exit, not exit with fork soc.2012.gg

Thu, 31 May 2012 17:14:32 +0000

author
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
date
Thu, 31 May 2012 17:14:32 +0000
branch
soc.2012.gg
changeset 33289
a3b7aa1b6f34
parent 33288
eddaed171bb7
child 33290
63898cecf274

We should use _exit, not exit with fork

libpurple/protocols/gg/lib/config.h file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/gg/lib/config.h	Fri May 25 21:35:32 2012 +0000
+++ b/libpurple/protocols/gg/lib/config.h	Thu May 31 17:14:32 2012 +0000
@@ -15,6 +15,9 @@
 /* Defined if this machine has gethostbyname_r(). */
 #undef GG_CONFIG_HAVE_GETHOSTBYNAME_R
 
+/* Define to 1 if you have the `_exit' function. */
+#define HAVE__EXIT 1
+
 /* Defined if libgadu was compiled and linked with fork support. */
 #undef GG_CONFIG_HAVE_FORK
 #ifndef _WIN32
@@ -22,7 +25,7 @@
 #endif
 
 /* Defined if libgadu was compiled and linked with pthread support. */
-/* We don't use pthreads due to stability issues. */
+/* We don't use pthreads - they may not be safe. */
 #undef GG_CONFIG_HAVE_PTHREAD
 
 /* Defined if this machine has C99-compiliant vsnprintf(). */

mercurial