Subject: CVS commit: src/usr.bin/config
To: None <source-changes@NetBSD.org>
From: Quentin Garnier <cube@netbsd.org>
List: source-changes
Date: 10/04/2005 20:13:39
Module Name:	src
Committed By:	cube
Date:		Tue Oct  4 20:13:39 UTC 2005

Modified Files:
	src/usr.bin/config: defs.h main.c sem.c

Log Message:
- Make sure to try aliases of removed device instances when walking
  deaddevitab.
- Record the position in the config file of device instances so it is
  possible to tell if a device instance was declared before or after its
  parent's removal.

  E.g.:

     child* at parent?
     no parent

   will have the child instance ignored as an explicit orphan, while

     no parent
     child* at parent?

   will error out because now the child instance is a real orphan.

  That let the POSTPONED_ORPHAN regression test pass.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/usr.bin/config/defs.h
cvs rdiff -r1.4 -r1.5 src/usr.bin/config/main.c
cvs rdiff -r1.12 -r1.13 src/usr.bin/config/sem.c

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