Subject: CVS commit: syssrc/usr.sbin/config
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 06/05/2002 13:56:20
Module Name:	syssrc
Committed By:	lukem
Date:		Wed Jun  5 10:56:20 UTC 2002

Modified Files:
	syssrc/usr.sbin/config: defs.h files.c gram.y hash.c main.c mkheaders.c
	    mkioconf.c mkmakefile.c mkswap.c pack.c scan.l sem.c sem.h util.c

Log Message:
Functionality improvements:
- Add `no' keyword, which can be used in the following ways:
	no file-system SOMEFS
	no makeoptions FOO
	no options OPT1[,OPT2[,...]]
	no pseudo-device somepseudo
  This turns off a previous file-system/makeoptions/options/pseudo-device
  entry for the same item.
  Grammar support for 'no device DEV at ATTACH' added, but not
  implemented yet.

Code changes:
- Convert many simple lists to TAILQs
- Convert prefix to SLIST
- Remove argument names from prototypes.
- Don't bother with custom alloc code for hashtables; just use emalloc()
  like everything else.
- Implement ht_remove(), to remove an entry from a hash table.
  Add removed entries to a freelist for later reuse.
- Don't selectbase() devices and pseudo-devices at definition time; instead
  do it at one pass after the config file has been parsed in fixdevis().
- Rename nvhead to nvfreelist; a more apt name...
- Minor code cleanups.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 syssrc/usr.sbin/config/defs.h
cvs rdiff -r1.14 -r1.15 syssrc/usr.sbin/config/files.c
cvs rdiff -r1.32 -r1.33 syssrc/usr.sbin/config/gram.y
cvs rdiff -r1.9 -r1.10 syssrc/usr.sbin/config/hash.c
cvs rdiff -r1.67 -r1.68 syssrc/usr.sbin/config/main.c
cvs rdiff -r1.31 -r1.32 syssrc/usr.sbin/config/mkheaders.c
cvs rdiff -r1.58 -r1.59 syssrc/usr.sbin/config/mkioconf.c
cvs rdiff -r1.54 -r1.55 syssrc/usr.sbin/config/mkmakefile.c
cvs rdiff -r1.13 -r1.14 syssrc/usr.sbin/config/mkswap.c \
    syssrc/usr.sbin/config/sem.h
cvs rdiff -r1.11 -r1.12 syssrc/usr.sbin/config/pack.c
cvs rdiff -r1.30 -r1.31 syssrc/usr.sbin/config/scan.l
cvs rdiff -r1.29 -r1.30 syssrc/usr.sbin/config/sem.c
cvs rdiff -r1.15 -r1.16 syssrc/usr.sbin/config/util.c

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