| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Notes:
svn path=/head/; revision=367592
|
| |
|
|
|
|
|
|
|
|
|
|
| |
It turns out that currently mandoc(1) is not handling Fl in Ss
correctly (maybe it never was). Let's just replace "Fl S \&Ss ..."
with "-S ...". After all, this subsection title is stylized anyway, so Fl
is not that helpful.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=360283
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows one to set the environment of the specified user either from
login.conf alone (-L) or both login.conf and ~/.login_conf if present (-U).
This is a supporting feature to allow service(8) to pull in the environment
of the "daemon" class before invoking the rc script.
This is a part of D21481.
Submitted by: Andrew Gierth < andrew_tao173.riddles.org.uk>
Notes:
svn path=/head/; revision=357563
|
| |
|
|
|
|
|
|
|
|
|
|
| |
With the -0 option added to ENV(1), some ports will no longer require genv
from sysutils/coreutils.
Reviewed by: kevans (prior version), swills
Approved by: bcr (manpages), imp
Differential Revision: https://reviews.freebsd.org/D22230
Notes:
svn path=/head/; revision=354450
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
No functional change intended.
Notes:
svn path=/head/; revision=326276
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.
Notes:
svn path=/head/; revision=326025
|
| |
|
|
|
|
|
| |
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=325188
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.
Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96
Notes:
svn path=/head/; revision=314436
|
| |
|
|
|
|
|
|
| |
Reported by: make manlint
MFC after: 2 days
Notes:
svn path=/head/; revision=313661
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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=283595
|
| | |
| |
| |
| | |
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
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
split_spaces() set argc in main() incorrectly, which caused trouble for
getopt().
Examples:
env -S '\c'
env -S -i
PR: 197769
MFC after: 1 week
Notes:
svn path=/head/; revision=279779
|
| |
|
|
|
|
|
|
|
|
|
|
| |
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
Notes:
svn path=/head/; revision=216370
|
| |
|
|
|
|
|
| |
Also add some missing $FreeBSD$ to keep svn happy.
Notes:
svn path=/head/; revision=201386
|
| |
|
|
|
|
|
| |
change was committed, instead of when I had first started writing it...
Notes:
svn path=/head/; revision=178811
|
| |
|
|
|
|
|
|
|
|
|
| |
the given variable name (removing it from the environment, instead of
just setting it to a null value).
PR: bin/65649
MFC after: 2 weeks
Notes:
svn path=/head/; revision=178289
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
setenv(3) by tracking the size of the memory allocated instead of using
strlen() on the current value.
Convert all calls to POSIX from historic BSD API:
- unsetenv returns an int.
- putenv takes a char * instead of const char *.
- putenv no longer makes a copy of the input string.
- errno is set appropriately for POSIX. Exceptions involve bad environ
variable and internal initialization code. These both set errno to
EFAULT.
Several patches to base utilities to handle the POSIX changes from
Andrey Chernov's previous commit. A few I re-wrote to use setenv()
instead of putenv().
New regression module for tools/regression/environ to test these
functions. It also can be used to test the performance.
Bump __FreeBSD_version to 700050 due to API change.
PR: kern/99826
Approved by: wes
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=171195
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Not because I admit they are technically wrong and not because of bug
reports (I receive nothing). But because I surprisingly meets so
strong opposition and resistance so lost any desire to continue that.
Anyone who interested in POSIX can dig out what changes and how
through cvs diffs.
Notes:
svn path=/head/; revision=169177
|
| |
|
|
|
|
|
|
|
|
| |
"The setenv( ) function shall fail if:
[EINVAL] The name argument is a null pointer, points to an empty string,
or points to a string containing an '=' character."
The fix (like all others in this subject) is backward-compatible.
Notes:
svn path=/head/; revision=169145
|
| |
|
|
|
|
|
|
| |
Noticed by: Dave Hart
MFC plans: after checking with re@
Notes:
svn path=/head/; revision=148142
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) An unquoted space is always a separator, even when not "in_arg".
2) When a new destination buffer must be allocated during variable
substitution, only copy data from the active buffer to the new
one when we *are* "in_arg".
These were noticed when testing variable-substitution of variables
which have null values, and are not inside quoted strings...
MFC plans: after a few days, and re@ approval...
Notes:
svn path=/head/; revision=147971
|
| |
|
|
|
|
|
|
| |
Approved by: re (blanket)
OK'ed by: gad
Notes:
svn path=/head/; revision=147532
|
| |
|
|
|
|
|
|
|
|
|
| |
was a separator character immediately before it. This wasn't likely to
happen in #-lines, but we might as well get it right. Also fix it so
that "" and "" will create a zero-length argument.
Approved by: re (blanket `env')
Notes:
svn path=/head/; revision=147521
|
| |
|
|
|
|
|
|
| |
Noticed by: Matthew D Fuller
Approved by: re (blanket `env')
Notes:
svn path=/head/; revision=147518
|
| |
|
|
|
|
|
|
|
|
|
| |
start with a '/', they are more supported (by POSIX and SUSv3) than
filenames which have an '=' in them.
Noticed by: tjr
Approved by: re (blanket `env')
Notes:
svn path=/head/; revision=147517
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
apart a string, and supports some text substitutions. This can be
used to provide all the flexibility (and more!) that was lost by recent
changes to how the kernel parses #!-lines in shell scripts.
The '-P' option provides a way to specify an alternate set of directories
to use when searching for the 'utility' program to run. This way you can
be sure what directories are used for that search, without changing the
value of PATH that the user has set. Note that on FreeBSD 6.0, this
option is worthless unless the '-S' option is also used.
Approved by: re (blanket `env')
Notes:
svn path=/head/; revision=147493
|
| |
|
|
|
|
|
|
|
|
| |
without checking it for an equals-sign. If it starts with a slash, then
it cannot be a request to set the value of a valid environment variable.
Approved by: re (blanket `env')
Notes:
svn path=/head/; revision=147492
|
| |
|
|
|
|
|
|
|
|
| |
it does not happen until all single-letter options are processed. This will
be important for the -S option, which will be coming soon.
Approved by: re (blanket `env')
Notes:
svn path=/head/; revision=147491
|
| |
|
|
|
|
|
|
|
|
| |
it is doing, and what order it does them. This will be much more useful as
more options are added.
Approved by: re (blanket `env')
Notes:
svn path=/head/; revision=147490
|
| |
|
|
| |
Notes:
svn path=/head/; revision=140368
|
| |
|
|
| |
Notes:
svn path=/head/; revision=129436
|
| |
|
|
| |
Notes:
svn path=/head/; revision=126402
|
| |
|
|
|
|
|
| |
to the .Nm macro.
Notes:
svn path=/head/; revision=121909
|
| |
|
|
|
|
|
| |
in keeping them together. Mention that printenv is obsolescent.
Notes:
svn path=/head/; revision=115603
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Compatibility section of the manual page.
Notes:
svn path=/head/; revision=98968
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
executes in the usage() message and manual page. Use "utility" instead of
"command" in both places to emphasise that shell builtins etc. will not work,
and to be consistent with the terminology used by POSIX.
PR: 39210
Submitted by: Danny J. Zerkel <dzerkel@columbus.rr.com>
MFC after: 1 week
Notes:
svn path=/head/; revision=98418
|
| |
|
|
| |
Notes:
svn path=/head/; revision=92920
|
| |
|
|
|
|
|
|
|
| |
is to put a copyright in the object file.
Submitted by: bde
Notes:
svn path=/head/; revision=91792
|
| |
|
|
|
|
|
|
|
|
| |
Fix env(1)'s exit status to conform with SUSv3.
Submitted by: Tim Robbins <tim@robbins.dropbear.id.au>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=91004
|
| |
|
|
|
|
|
| |
help the GCC3 transition and CURRENT in general.
Notes:
svn path=/head/; revision=90415
|
| |
|
|
|
|
|
|
|
| |
where necessary.
Submitted by: Mike Barcroft <mike@q9media.com>
Notes:
svn path=/head/; revision=79011
|
| |
|
|
|
|
|
|
|
|
|
|
| |
recommended option in the manpage, but the - option remains for
backward compatibility and is documented as such.
PR: 13363
Reported by: James Howard <howardjp@wam.umd.edu>
Reviewed by: bde
Notes:
svn path=/head/; revision=50444
|
| |
|
|
| |
Notes:
svn path=/head/; revision=41568
|