Subject: CVS commit: src/usr.bin/config
To: None <source-changes@NetBSD.org>
From: Quentin Garnier <cube@netbsd.org>
List: source-changes
Date: 12/18/2005 23:43:15
Module Name: src
Committed By: cube
Date: Sun Dec 18 23:43:15 UTC 2005
Modified Files:
src/usr.bin/config: sem.c
Log Message:
Having explicit locators is not a sufficient condition to be able to have
children for a pseudo-device. Depending on an interface attribute is,
though.
Instead of looking at locators, walk the 'attrs' list and look for an
interface attribute (which might have been added just a few lines before
in case there was explicit locators defined).
Fixes PR#32329 by Valeriy E. Ushakov. Regression test is PSEUDO_PARENT.
To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 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.