summaryrefslogtreecommitdiffstats
path: root/usr.bin/getconf
Commit message (Collapse)AuthorAgeFilesLines
* Support correct programming environment name for amd64.wollman2005-02-181-1/+1
| | | | MFC after: 3 days
* Sort sections.ru2005-01-181-15/+15
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+2
|
* mdoc(7): Use the new feature of the .In macro.ru2003-09-081-1/+1
|
* Warns fixes. Mainly unused headers/params/vars removal, but alsomarkm2003-08-227-28/+19
| | | | some malloc cleanup.
* Tidy up usage message.tjr2003-08-171-3/+3
|
* Replace an alloca() call with a slightly more standard malloc()/free()markm2003-07-211-3/+8
| | | | pair.
* Uniformly refer to a file system as "file system".ru2002-12-121-1/+1
| | | | Approved by: re
* mdoc(7) police: markup nits, "The .Nm utility".ru2002-11-261-17/+12
| | | | Approved by: re
* Make this work under non-C locales.ru2002-11-251-4/+5
| | | | | PR: misc/45460 Approved by: re
* Remove unnecessary compatibility macro. (We were only printing, not parsing,wollman2002-10-271-1/+0
| | | | intmax_t.)
* Add new 1003.1-2001/TC1/D6 parameters. (On final recirculation ballot now,wollman2002-10-274-2/+16
| | | | | | | | so this should be officially TC1 before the New Year.) Add TrustedBSD pathconf parameters. Add compilation support for -stable (to be merged momentarily).
* Completely revamp the way getconf(1) works, for better adherence to thewollman2002-09-1910-189/+457
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | intent of the Standard. - Make getconf able to distinguish between configuration variables which are entirely unknown and those which are merely not defined in the compilation environment. The latter now get a more appropriate "undefined\n" result rather than a diagnostic. This may not be exactly right, but it's closer to the intent of the Standard than the previous behavior. - Support ``programming environments'' by validating that the environment requested with the `-v' flag is the one-and-only execution environment. (If more environments are supported for some platforms in the future, multiple getconf(1) executables will be required, but a simple edit in progenv.gperf will enable automatic support for it.) Document POSIX standard programming environments. - Add all of the 1003.1-2001 configuration variables. FreeBSD does not support all of these (including some that are mandatory); getconf will later be fixed to break the world should a required variable not be defined. As a result of all these changes, gperf is no longer adequate. Keep the overall format and names of the files for now, to preserve revision history. Use an awk script to process the .gperf files into C source, which does a few things that gperf, as a more general tool, cannot do. The keyword recognition function is no longer a perfect hash function. This may obviate the need for gperf in the source tree. - Add a small compile-time regression test to break the build if any of the .gperf files declare conflicting token sets. (gperf itself would have done this for the simple case of duplicate tokens in the same input file.)
* Make obrien happy. Add a bad awk script which emulates as much ofwollman2002-09-181-0/+57
| | | | | | | gperf's behavior as we ever actually needed here. This generates a much-less-efficient keyword recognizer, but it's not like that matters in this application. Makefile changes coming once this passes the world test.
* ANSIify function definitions.dwmalone2002-09-042-2/+2
| | | | | | | | | Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings. Reviewed by: md5
* Support POSIX ``programming environment'' mistake.wollman2002-07-151-0/+13
|
* Consistently use FBSDIDobrien2002-06-301-2/+3
|
* confstr() returns (size_t)-1 on failure. Check for this explicitly insteadtjr2002-06-041-1/+1
| | | | of trying to see if an unsigned number is less than zero.
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-151-3/+1
|
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).ru2001-07-061-1/+1
|
* Reword the description a little bit more for parallel construction.wollman2001-02-211-1/+1
|
* Destroy the evidence of my misunderstanding of the specification.wollman2001-02-212-29/+2
| | | | Also fix up the phrasing in the man page a bit.
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-6/+6
|
* mdoc(7) police: use certified section headers wherever possible.ru2000-11-171-1/+1
|
* Unbreak for the case where ``make obj'' was run first.obrien2000-04-261-0/+1
|
* Hello, getconf. This is a slight reinvention of thewollman2000-04-267-0/+688
wheel^H^H^H^H^HPOSIX.2 and X/Open utility, and rather more complicated than necessary.
OpenPOWER on IntegriCloud