<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/usr.bin/env, branch release/7.3.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.3.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.3.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2010-03-21T01:30:13Z</updated>
<entry>
<title>Copy releng/7.3 to release/7.3.0 to mark 7.3-RELEASE.</title>
<updated>2010-03-21T01:30:13Z</updated>
<author>
<name>Ken Smith</name>
<email>kensmith@FreeBSD.org</email>
</author>
<published>2010-03-21T01:30:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9c4d1c1956ecb0a222fb2f4579c320391fb67f06'/>
<id>urn:sha1:9c4d1c1956ecb0a222fb2f4579c320391fb67f06</id>
<content type='text'>
Approved by:	re (implicit)

This commit was manufactured to restore the state of the 7.3-RELEASE image.
</content>
</entry>
<entry>
<title>MFC *: Add the '-u name' option to the env command, which will completely</title>
<updated>2008-05-13T21:46:50Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2008-05-13T21:46:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c6ce2c0c9d6e7887af853c039790a18b6c2777e4'/>
<id>urn:sha1:c6ce2c0c9d6e7887af853c039790a18b6c2777e4</id>
<content type='text'>
unset the given variable name (removing it from the environment, instead
of just setting it to a null value).

[* = 1.10-&gt;1.11 env.1, 1.20 env.c]

PR:		bin/65649
</content>
</entry>
<entry>
<title>Significantly reduce the memory leak as noted in BUGS section for</title>
<updated>2007-07-04T00:00:41Z</updated>
<author>
<name>Sean Farley</name>
<email>scf@FreeBSD.org</email>
</author>
<published>2007-07-04T00:00:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2966d28c322dcfa4b9db2558da0b91839e7798b9'/>
<id>urn:sha1:2966d28c322dcfa4b9db2558da0b91839e7798b9</id>
<content type='text'>
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)
</content>
</entry>
<entry>
<title>Back out all POSIXified *env() changes.</title>
<updated>2007-05-01T16:02:44Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2007-05-01T16:02:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ba174a5e38b1ab764c4a36ef4dd83e80c4add148'/>
<id>urn:sha1:ba174a5e38b1ab764c4a36ef4dd83e80c4add148</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>env calls setenv("name=value", "value", 1); which violates POSIX:</title>
<updated>2007-04-30T19:25:00Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2007-04-30T19:25:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ed4bcacfde939e4cc352ea79f740cb1a8f5ed4b9'/>
<id>urn:sha1:ed4bcacfde939e4cc352ea79f740cb1a8f5ed4b9</id>
<content type='text'>
"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.
</content>
</entry>
<entry>
<title>Fix minor memory leak when expanding ${variable}s</title>
<updated>2005-07-18T22:18:16Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2005-07-18T22:18:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9afe6a5bf97ea2bdcc32b02b3cd1d3e22b1641bd'/>
<id>urn:sha1:9afe6a5bf97ea2bdcc32b02b3cd1d3e22b1641bd</id>
<content type='text'>
Noticed by:	Dave Hart
MFC plans:	after checking with re@
</content>
</entry>
<entry>
<title>Fix two minor parsing bugs in -S processing:</title>
<updated>2005-07-13T15:56:30Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2005-07-13T15:56:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b5418f51344d7032d10ee641bf41d1f486b4e6e5'/>
<id>urn:sha1:b5418f51344d7032d10ee641bf41d1f486b4e6e5</id>
<content type='text'>
 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...
</content>
</entry>
<entry>
<title>Tidy up the markup.</title>
<updated>2005-06-22T19:04:07Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-06-22T19:04:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5dea8a444f3d76bf882bc42bd5042a6c2505ef34'/>
<id>urn:sha1:5dea8a444f3d76bf882bc42bd5042a6c2505ef34</id>
<content type='text'>
Approved by:	re (blanket)
OK'ed by:	gad
</content>
</entry>
<entry>
<title>Fix a bug where the value of ${SOMEVAR} would simply disappear if there</title>
<updated>2005-06-21T21:37:53Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2005-06-21T21:37:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=530aafd4d0ff8ca628b00466444dea6a3d99b5c8'/>
<id>urn:sha1:530aafd4d0ff8ca628b00466444dea6a3d99b5c8</id>
<content type='text'>
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')
</content>
</entry>
<entry>
<title>Put in a more descriptive heading for the `env' command.</title>
<updated>2005-06-21T19:45:02Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2005-06-21T19:45:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=68ef20722d3eb99e7e86b9bffb5357b93462cc59'/>
<id>urn:sha1:68ef20722d3eb99e7e86b9bffb5357b93462cc59</id>
<content type='text'>
Noticed by:	Matthew D Fuller
Approved by:	re (blanket `env')
</content>
</entry>
</feed>
