Date: Fri, 22 Nov 1996 09:44:27 -0800 From: Paul Traina <pst@shockwave.com> To: Nate Williams <nate@mt.sri.com> Cc: Tom Samplonius <tom@uniserve.com>, stable@freebsd.org, guido@gvr.win.tue.nl Subject: Re: Announce: Sendmail 8.8.3 in stable Message-ID: <199611221744.JAA06363@precipice.shockwave.com> In-Reply-To: Your message of "Fri, 22 Nov 1996 08:48:59 MST." <199611221548.IAA16914@rocky.mt.sri.com>
index | next in thread | previous in thread | raw e-mail
From: Nate Williams <nate@mt.sri.com>
Subject: Re: Announce: Sendmail 8.8.3 in stable
> I've passed off diffs for the hard part of the bind update to peter
> for review, however there's no need to upgrade to 4.9.5, just apply
> the patch (which I think I also applied to stable yesterday).
Right, but that patch broke libresolv.
Wait, let's be clear here.
Are you saying that the following patch broke libresolv? How?
This is *not* the same as the patch guido sent out.
Index: gethostbydns.c
===================================================================
RCS file: /cvs/freebsd/src/lib/libc/net/gethostbydns.c,v
retrieving revision 1.4.4.4
retrieving revision 1.4.4.5
diff -u -r1.4.4.4 -r1.4.4.5
--- gethostbydns.c 1996/06/06 00:05:42 1.4.4.4
+++ gethostbydns.c 1996/11/20 18:36:37 1.4.4.5
@@ -53,7 +53,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)gethostnamadr.c 8.1 (Berkeley) 6/4/93";
-static char rcsid[] = "$Id: gethostbydns.c,v 1.4.4.4 1996/06/06 00:05:42 nate Exp $";
+static char rcsid[] = "$Id: gethostbydns.c,v 1.4.4.5 1996/11/20 18:36:37 pst Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -305,12 +305,11 @@
cp += n;
continue; /* XXX - had_error++ ? */
}
- if (haveanswer) {
- if (n != host.h_length) {
- cp += n;
- continue;
- }
- } else {
+ if (n != host.h_length) {
+ cp += n;
+ continue;
+ }
+ if (!haveanswer) {
register int nn;
host.h_length = n;
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611221744.JAA06363>
