From owner-freebsd-current Wed Oct 31 23:30:44 2001 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id ABFAE37B403 for ; Wed, 31 Oct 2001 23:30:41 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.6/8.11.1) id fA17UZo60211; Wed, 31 Oct 2001 23:30:35 -0800 (PST) (envelope-from obrien) Date: Wed, 31 Oct 2001 23:30:34 -0800 From: "David O'Brien" To: David Wolfskill Cc: current@FreeBSD.ORG Subject: Re: buildworld breakage during "make depend" at usr.bin/kdump Message-ID: <20011031233034.B59988@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <200110312159.f9VLx1I45943@bunrab.catwhisker.org> <200111010549.fA15nPG47227@bunrab.catwhisker.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200111010549.fA15nPG47227@bunrab.catwhisker.org>; from david@catwhisker.org on Wed, Oct 31, 2001 at 09:49:25PM -0800 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 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 On Wed, Oct 31, 2001 at 09:49:25PM -0800, David Wolfskill wrote: > David O'Brien has suggested another (better, I think) approach for the > mkioctls patch. I'm reporting what I (had already) used. Actually mine had a fatal flaw. I committed your version. :-) > For the regex/doc/Makefile, it seems that gawk allows the value for -v > to be adjacent to the -v itself, while the -CURRENT awk works better if > there is whitespace separating them. Committed. > * It seems that while gawk supports the POSIX "bracket expressions" > (POSIXese for "character classes", basically), the awk we are now > using in -CURRENT does not appear to do so. (Again, I cite empirical > evidence, vs. documentation.) Committed. > * Since no lines matched, the "first" variable remained set at 0, and > since the help array was empty, the loop termination condition in the > END block could never be reached. I believe this to be suboptimal. > I found that by changing the intial value of "first" to -1, that made Left out for now. I don't know what I had before -- I thought I was running Bell-Labs awk as the native awk. That is how I found the other problems with the loader's awk scripts in the past. -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message