778eb32ada
What's new: * Automated update to streamline product upgrades. Notification of an update is more prominent, and updates to Thunderbird may now be half a megabyte or smaller. Updating extensions has also improved. * Sort address autocomplete results by how often you send e-mail to each recipient. * Spell check as you type. * Saved Search Folders can now search across multiple accounts. * Built in phishing detector to help protect users against email scams. * Podcasting and other RSS Improvements. * Deleting attachments from messages. * Integration with server side spam filtering. * Reply and forward actions for message filters. * Kerberos Authentication. * Auto save as draft for mail composition. * Message aging. * Filters for Global Inbox. * Improvements to product usability including redesigned options interface, and SMTP server management. * Many security enhancements. For a more detailed list of changes, see http://weblogs.mozillazine.org/rumblingedge/archives/2006/01/1-5.html Ok with wiz.
22 lines
644 B
Text
22 lines
644 B
Text
$NetBSD: patch-br,v 1.6 2006/02/05 14:49:05 ghen Exp $
|
|
|
|
--- nsprpub/pr/src/misc/prnetdb.c.orig 2006-02-02 13:19:56.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;
|
|
|