The Sunbird Project is a redesign of the Calendar component. The goal is to produce a cross platform standalone calendar application based on Mozilla's XUL user interface language. At the moment the Sunbird name is a project name. It is not official and may change in the future. The intended user is someone who uses Mozilla Firefox and Mozilla Thunderbird and wants a calendar application based on Mozilla. Ok with wiz. I'll add a -gtk1 version later this week.
22 lines
648 B
Text
22 lines
648 B
Text
$NetBSD: patch-br,v 1.1.1.1 2006/02/05 21:56:26 ghen Exp $
|
|
|
|
--- nsprpub/pr/src/misc/prnetdb.c.orig 2006-02-02 16:57:57.000000000 +0100
|
|
+++ nsprpub/pr/src/misc/prnetdb.c
|
|
@@ -2110,7 +2110,17 @@ PR_IMPLEMENT(PRAddrInfo *) PR_GetAddrInf
|
|
*/
|
|
hints.ai_socktype = SOCK_STREAM;
|
|
|
|
+/* NetBSD >= 2.99.9 has a thread-safe resolver */
|
|
+#if defined(__NetBSD_Version__) && __NetBSD_Version__ < 299000900
|
|
+ LOCK_DNS();
|
|
+#endif
|
|
+
|
|
rv = GETADDRINFO(hostname, NULL, &hints, &res);
|
|
+
|
|
+#if defined(__NetBSD_Version__) && __NetBSD_Version__ < 299000900
|
|
+ UNLOCK_DNS();
|
|
+#endif
|
|
+
|
|
if (rv == 0)
|
|
return (PRAddrInfo *) res;
|
|
|