Subject: PR/32329 CVS commit: src/usr.bin/config
To: None <cube@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Quentin Garnier <cube@netbsd.org>
List: netbsd-bugs
Date: 12/18/2005 23:45:02
The following reply was made to PR toolchain/32329; it has been noted by GNATS.
From: Quentin Garnier <cube@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/32329 CVS commit: src/usr.bin/config
Date: Sun, 18 Dec 2005 23:43:15 +0000 (UTC)
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.