Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2001 21:48:20 -0800 (PST)
From:      nsayer@quack.kfu.com
To:        freebsd-ports@freebsd.org
Cc:        freebsd-mozilla@freebsd.org, reg@freebsd.org
Subject:   Mozilla & PSM -- the final word
Message-ID:  <200101170548.f0H5mKW17658@morpheus.kfu.com>

next in thread | raw e-mail | index | archive | help
Applying this patch to work/mozilla/nsprpub/pr/src/misc/prnetdb.c fixes
the problem that I hacked around with the #if 0 in my previous e-mails.
This patch is also now in Mozilla bug 65549, but until they commit it
it should probably become part of the mozilla port. Without it, the
psm doesn't work on BSD.

--- prnetdb.c.orig	Tue Jan 16 21:43:04 2001
+++ prnetdb.c	Tue Jan 16 21:40:52 2001
@@ -924,6 +924,7 @@
     PRStatus rv = PR_SUCCESS;
     if (!_pr_initialized) _PR_ImplicitInitialization();
 
+	bzero(&(addr->inet),sizeof(addr->inet));
 	addr->inet.family = AF_INET;
 	addr->inet.port = htons(port);
 	switch (val)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101170548.f0H5mKW17658>