Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: James Chacon <jmc@netbsd.org>
List: source-changes
Date: 12/15/2003 07:32:21
Module Name:	src
Committed By:	jmc
Date:		Mon Dec 15 07:32:21 UTC 2003

Modified Files:
	src/sys/arch/hp300/dev: devlist2h.awk
	src/sys/arch/hp700/dev: devlist2h.awk
	src/sys/dev/acpi: devlist2h.awk
	src/sys/dev/cardbus: devlist2h.awk
	src/sys/dev/eisa: devlist2h.awk
	src/sys/dev/isapnp: devlist2h.awk
	src/sys/dev/mca: devlist2h.awk
	src/sys/dev/mii: devlist2h.awk
	src/sys/dev/pci: devlist2h.awk
	src/sys/dev/pcmcia: devlist2h.awk
	src/sys/dev/tc: devlist2h.awk
	src/sys/dev/usb: devlist2h.awk

Log Message:
Fixes from PR#23177. Various lint/logic fixes:
Fix some non-initialized variables
close the output files when done
Redo the printing for RCS strings so they don't expand in the awk script too
Do proper tests for variables existance before accessing

Verified output from all scripts is identical to original versions


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/sys/arch/hp300/dev/devlist2h.awk
cvs rdiff -r1.2 -r1.3 src/sys/arch/hp700/dev/devlist2h.awk
cvs rdiff -r1.3 -r1.4 src/sys/dev/acpi/devlist2h.awk
cvs rdiff -r1.3 -r1.4 src/sys/dev/cardbus/devlist2h.awk
cvs rdiff -r1.6 -r1.7 src/sys/dev/eisa/devlist2h.awk
cvs rdiff -r1.5 -r1.6 src/sys/dev/isapnp/devlist2h.awk
cvs rdiff -r1.1 -r1.2 src/sys/dev/mca/devlist2h.awk
cvs rdiff -r1.3 -r1.4 src/sys/dev/mii/devlist2h.awk
cvs rdiff -r1.7 -r1.8 src/sys/dev/pci/devlist2h.awk
cvs rdiff -r1.6 -r1.7 src/sys/dev/pcmcia/devlist2h.awk
cvs rdiff -r1.6 -r1.7 src/sys/dev/tc/devlist2h.awk
cvs rdiff -r1.10 -r1.11 src/sys/dev/usb/devlist2h.awk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.