| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Previous spellings of my name (NGie, Ngie) weren't my legal spelling. Use Enji
instead for clarity.
While here, remove "All Rights Reserved" from copyrights I "own".
MFC after: 1 week
Notes:
svn path=/head/; revision=346571
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`_SC_NPROCESSORS_{CONF,ONLN}`
The goal of this change is to make it easier to use getconf to query
the number of available processors.
Sadly it's unclear per POSIX, which form (with a preceding _ or
lacking it) is correct. I will bring this up on the Austin Group list so
this point is clarified for implementors that might rely on this getconf
variable in future POSIX spec versions.
This is something I noticed when trying to import GoogleTest to FreeBSD
as one of the CI scripts uses this variable on Linux.
MFC after: 2 weeks
Approved by: emaste (mentor)
Differential Revision: https://reviews.freebsd.org/D18640
Notes:
svn path=/head/; revision=342952
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=342817
|
|
|
|
|
|
|
| |
PR: 164049
Notes:
svn path=/head/; revision=334071
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
using the appropriate (unsigned) format specification. This prevents
integer overflow when ULLONG_MAX and (on some architectures) ULONG_MAX
are used to initialize an intmax_t and then displayed as the signed
value -1. (A different approach was suggested in the bug report,
which I did not use.) If other limits are defined to be unsigned,
they could be moved here.
PR: 164049
Reported by: Marcus Reid
Notes:
svn path=/head/; revision=334070
|
|
|
|
|
|
|
| |
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=325188
|
|
|
|
|
|
|
| |
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=325187
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When -a is specified, the name and value of all system or path
configuration values is reported to standard output.
Reviewed by: kib (earlier version)
MFC after: 1 week
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D12373
Notes:
svn path=/head/; revision=323631
|
|
|
|
|
|
|
|
|
| |
`SUBDIR.${MK_TESTS}+= tests` idiom.
This is a follow up to r321912.
Notes:
svn path=/projects/make-check-sandbox/; revision=321914
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
directories to SUBDIR.${MK_TESTS} idiom
This is being done to pave the way for future work (and homogenity) in
^/projects/make-check-sandbox .
No functional change intended.
MFC after: 1 weeks
Notes:
svn path=/head/; revision=321912
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
__ILP32__/__LP64__ instead of by architecture.
The list was incomplete (previous commits purged invalid architectures,
like __alpha__, but failed to add new ones). It's best to base the symbol
presence on whether or not the architecture is ILP32 / LP64 capable, per
the compiler.
This fixes the ILP32/LP64 program environments on some architectures like
arm64, and by proxy fixes the tests on those architectures.
MFC after: 1 month
Reviewed by: no one (timed out on feedback from imp)
Differential Revision: D10787
Notes:
svn path=/head/; revision=321080
|
|
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
MFC with: r318436
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=318437
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Items tested via this commit are:
- Some basic POSIX constants.
- Some valid programming environments with -v.
- Some invalid programming environments via -v.
NOTE: this test makes assumptions about ILP32/LP32 vs LP64 that are
currently not true on all architectures to avoid hardcoding some
architectures in the tests. I'm working on improving getconf(1) to be
more sane about handling ILP32/LP32 vs LP64. Future commits are coming
soon to address this.
MFC after: 2 weeks
Tested with: amd64, i386
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=318436
|
|
|
|
|
|
|
|
|
|
| |
Parameterize out fake-gperf.awk to avoid duplicating the path
MFC after: 2 weeks
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=318434
|
|
|
|
|
|
|
|
|
|
| |
the equivalent macro
MFC after: 1 month
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=318280
|
|
|
|
| |
Notes:
svn path=/head/; revision=312927
|
|
|
|
| |
Notes:
svn path=/head/; revision=312926
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
knobs
It's not necessarily intuitive that the variables to query contain TRUSTEDBSD
in the prefix. Add non-TRUSTEDBSD prefixed knobs for querying things like
"_PC_ACL_NFS4".
MFC after: 1 week
Relnotes: yes
Reviewed by: wollman
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D7618
Notes:
svn path=/head/; revision=304809
|
|
|
|
|
|
|
|
|
|
|
| |
The TRUSTEDBSD prefix was chosen for consistency with the other
related `_PC_ACL*` prefixed variables.
MFC after: 3 days
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=304698
|
|
|
|
|
|
|
|
|
|
|
| |
This allows shell programs to programmatically determine whether
or not a filesystem supports sparse files
MFC after: 3 days
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=304694
|
|
|
|
|
|
|
|
| |
MFC after: 3 days
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=304693
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace alpha reference in getconf(1) with amd64 [*]
MFC after: 1 week
PR: 211300 [*]
Submitted by: Sevan Janiyan <venture37@geeklan.co.uk> [*]
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=303830
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
Submitted by: Sascha Wildner <saw@online.de>
Obtained from: DragonflyBSD
MFC after: 3 days
Notes:
svn path=/head/; revision=289604
|
|
|
|
| |
Notes:
svn path=/head/; revision=284481
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=284172
|
| |\
| |/
|/|
| | |
Notes:
svn path=/projects/bmake/; revision=270164
|
| |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=266219
|
| |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=265802
|
| |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=248169
|
| |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=246868
|
| |
| |
| |
| |
| |
| |
| | |
Requested by: Simon Gerraty <sjg@juniper.net>
Notes:
svn path=/projects/bmake/; revision=239572
|
|/
|
|
|
|
|
|
| |
PR: 191174
Submitted by: Franco Fichtner <franco at lastsummer.de>
Notes:
svn path=/head/; revision=267773
|
|
|
|
|
|
|
|
| |
PR: misc/106414
MFC after: 1 week
Notes:
svn path=/head/; revision=164945
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=142066
|
|
|
|
| |
Notes:
svn path=/head/; revision=140420
|
|
|
|
| |
Notes:
svn path=/head/; revision=140368
|
|
|
|
| |
Notes:
svn path=/head/; revision=119893
|
|
|
|
|
|
|
| |
some malloc cleanup.
Notes:
svn path=/head/; revision=119312
|
|
|
|
| |
Notes:
svn path=/head/; revision=119025
|
|
|
|
|
|
|
| |
pair.
Notes:
svn path=/head/; revision=117843
|
|
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/head/; revision=107788
|
|
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/head/; revision=107263
|
|
|
|
|
|
|
|
| |
PR: misc/45460
Approved by: re
Notes:
svn path=/head/; revision=107224
|
|
|
|
|
|
|
| |
intmax_t.)
Notes:
svn path=/head/; revision=106017
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|