From owner-freebsd-stable Fri Nov 22 09:45:48 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA06094 for stable-outgoing; Fri, 22 Nov 1996 09:45:48 -0800 (PST) Received: from precipice.shockwave.com (ppp-206-170-5-50.rdcy01.pacbell.net [206.170.5.50]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA06082 for ; Fri, 22 Nov 1996 09:45:45 -0800 (PST) Received: from shockwave.com (localhost.shockwave.com [127.0.0.1]) by precipice.shockwave.com (8.8.3/8.7.3) with ESMTP id JAA06363; Fri, 22 Nov 1996 09:44:27 -0800 (PST) Message-Id: <199611221744.JAA06363@precipice.shockwave.com> To: Nate Williams cc: Tom Samplonius , stable@freebsd.org, guido@gvr.win.tue.nl Subject: Re: Announce: Sendmail 8.8.3 in stable In-reply-to: Your message of "Fri, 22 Nov 1996 08:48:59 MST." <199611221548.IAA16914@rocky.mt.sri.com> Date: Fri, 22 Nov 1996 09:44:27 -0800 From: Paul Traina Sender: owner-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk From: Nate Williams 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 @@ -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;