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 23:00:34
Module Name:	src
Committed By:	cube
Date:		Tue Oct  4 23:00:34 UTC 2005

Modified Files:
	src/usr.bin/config: main.c

Log Message:
Stop walking the tree when two conditions are met:  we've seen the device
already (one of its instances has been changed), and we have made no change
on any of the instances.

Previously, it stopped as soon as it detected the device had been seen.
While all the instances of the device at stake were eventually seen, the
same wasn't true for its children...

Fixes hpcmips's GENERIC.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/usr.bin/config/main.c

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