Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/config



Module Name:    src
Committed By:   dsl
Date:           Mon Sep  4 06:45:14 UTC 2006

Modified Files:
        src/usr.bin/config: config.5 gram.y mkheaders.c

Log Message:
Add support for specifying a default value on a 'defparam' line.
If a default is specified then the option is always defined in the
corresponding .h file.
Particularly useful for parameters where the default action isn't the
same a defining the value zero, given that the current use of #if defined(opt)
is open to problems wehere the relevant .h file isn't actually included, so
requiring an option to always have a value makes sense.
Also included (but commented out) is code that adds a global symbol to
the object file to stop objects compiled with different values for the
same option being linked together - I'm not quite happy with it yet!


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/usr.bin/config/config.5
cvs rdiff -r1.9 -r1.10 src/usr.bin/config/gram.y
cvs rdiff -r1.6 -r1.7 src/usr.bin/config/mkheaders.c

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




Home | Main Index | Thread Index | Old Index