aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/getconf
Commit message (Collapse)AuthorAgeFilesLines
* DIRDEPS_BUILD: Regenerate without local dependencies.Bryan Drewery2016-02-241-10/+0
| | | | | | | | | | | These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295989
* getconf(1): Fix typo. _POSIX_V6_LP64_OFFBIG -> _POSIX_V6_LPBIG_OFFBIG.Baptiste Daroussin2015-10-191-1/+1
| | | | | | | | | Submitted by: Sascha Wildner <saw@online.de> Obtained from: DragonflyBSD MFC after: 3 days Notes: svn path=/head/; revision=289604
* new dependsSimon J. Gerraty2015-06-161-1/+0
| | | | Notes: svn path=/head/; revision=284481
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+29
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge head from 7/28Simon J. Gerraty2014-08-192-1/+2
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=270164
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+29
| | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | use .Mt to mark up email addresses consistently (part3)Baptiste Daroussin2014-06-231-1/+1
|/ | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de> Notes: svn path=/head/; revision=267773
* o confstr(3) returns 0 on error. Check the return value accordingly.Maxim Konovalov2006-12-061-6/+10
| | | | | | | | PR: misc/106414 MFC after: 1 week Notes: svn path=/head/; revision=164945
* Support correct programming environment name for amd64.Garrett Wollman2005-02-181-1/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=142066
* Sort sections.Ruslan Ermilov2005-01-181-15/+15
| | | | Notes: svn path=/head/; revision=140420
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+2
| | | | Notes: svn path=/head/; revision=140368
* mdoc(7): Use the new feature of the .In macro.Ruslan Ermilov2003-09-081-1/+1
| | | | Notes: svn path=/head/; revision=119893
* Warns fixes. Mainly unused headers/params/vars removal, but alsoMark Murray2003-08-227-28/+19
| | | | | | | some malloc cleanup. Notes: svn path=/head/; revision=119312
* Tidy up usage message.Tim J. Robbins2003-08-171-3/+3
| | | | Notes: svn path=/head/; revision=119025
* Replace an alloca() call with a slightly more standard malloc()/free()Mark Murray2003-07-211-3/+8
| | | | | | | pair. Notes: svn path=/head/; revision=117843
* Uniformly refer to a file system as "file system".Ruslan Ermilov2002-12-121-1/+1
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107788
* mdoc(7) police: markup nits, "The .Nm utility".Ruslan Ermilov2002-11-261-17/+12
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107263
* Make this work under non-C locales.Ruslan Ermilov2002-11-251-4/+5
| | | | | | | | PR: misc/45460 Approved by: re Notes: svn path=/head/; revision=107224
* Remove unnecessary compatibility macro. (We were only printing, not parsing,Garrett Wollman2002-10-271-1/+0
| | | | | | | intmax_t.) Notes: svn path=/head/; revision=106017
* Add new 1003.1-2001/TC1/D6 parameters. (On final recirculation ballot now,Garrett 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). Notes: svn path=/head/; revision=106016
* Completely revamp the way getconf(1) works, for better adherence to theGarrett Wollman2002-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.) Notes: svn path=/head/; revision=103591
* Make obrien happy. Add a bad awk script which emulates as much ofGarrett Wollman2002-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. Notes: svn path=/head/; revision=103516
* ANSIify function definitions.David Malone2002-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 Notes: svn path=/head/; revision=102944
* Support POSIX ``programming environment'' mistake.Garrett Wollman2002-07-151-0/+13
| | | | Notes: svn path=/head/; revision=100151
* Consistently use FBSDIDDavid E. O'Brien2002-06-301-2/+3
| | | | Notes: svn path=/head/; revision=99112
* confstr() returns (size_t)-1 on failure. Check for this explicitly insteadTim J. Robbins2002-06-041-1/+1
| | | | | | | of trying to see if an unsigned number is less than zero. Notes: svn path=/head/; revision=97797
* mdoc(7) police: utilize the new .Ex macro.Ruslan Ermilov2001-08-151-3/+1
| | | | Notes: svn path=/head/; revision=81687
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).Ruslan Ermilov2001-07-061-1/+1
| | | | Notes: svn path=/head/; revision=79366
* Reword the description a little bit more for parallel construction.Garrett Wollman2001-02-211-1/+1
| | | | Notes: svn path=/head/; revision=72808
* Destroy the evidence of my misunderstanding of the specification.Garrett Wollman2001-02-212-29/+2
| | | | | | | Also fix up the phrasing in the man page a bit. Notes: svn path=/head/; revision=72807
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-6/+6
| | | | Notes: svn path=/head/; revision=68963
* mdoc(7) police: use certified section headers wherever possible.Ruslan Ermilov2000-11-171-1/+1
| | | | Notes: svn path=/head/; revision=68854
* Unbreak for the case where ``make obj'' was run first.David E. O'Brien2000-04-261-0/+1
| | | | Notes: svn path=/head/; revision=59642
* Hello, getconf. This is a slight reinvention of theGarrett Wollman2000-04-267-0/+688
wheel^H^H^H^H^HPOSIX.2 and X/Open utility, and rather more complicated than necessary. Notes: svn path=/head/; revision=59632