CVS commit: src/usr.bin/config

"Jason R Thorpe" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	thorpej
Date:		Mon Aug 10 13:36:10 UTC 2026

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

Log Message:
Make is possible to de-select depended options (which are processed in
a separate pass).  Example:

<files.foo>
defflag SOME_OPTION: SOME_OTHER_OPTION

<MYFOO>
options SOME_OPTION
no options SOME_OTHER_OPTION

Prior to this change, a warning that SOME_OTHER_OPTION was not selected
would be issued and SOME_OTHER_OPTION would remain selected in the output.
After this change, no warning is issued and SOME_OTHER_OPTION is not
selected in the output as expected.

This does not have broad utility, but can quite useful in certain situations.


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.