From owner-freebsd-current Fri Nov 2 18:34: 4 2001 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 18A6037B40B; Fri, 2 Nov 2001 18:34:03 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id CA30214C2E; Sat, 3 Nov 2001 03:34:01 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: David Wolfskill Cc: current@FreeBSD.ORG, julian@elischer.org, obrien@FreeBSD.ORG Subject: Re: latest -current broke netscape's name lookup? References: <200111021819.fA2IJbj52538@bunrab.catwhisker.org> From: Dag-Erling Smorgrav Date: 03 Nov 2001 03:34:01 +0100 In-Reply-To: <200111021819.fA2IJbj52538@bunrab.catwhisker.org> Message-ID: Lines: 16 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David Wolfskill writes: > Of > course, one of the other interesting issues with the above patch is that > awk was whining about the empty regex ("//"). Since the idea was > apparently to do nothing for such a record, it seemed simpler to just > not tell awk to do anything with it, and that seemed to work in my > tests.] Bzzzt! Wrong. That clause needs to be there to prevent awk from copying non-matching lines from nsswitch.conf to host.conf. If 1Tawk complains about empty regexps, just remove the regexp, but leave the clause there. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message