<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/include/stdlib.h, branch release/7.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=release%2F7.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=release%2F7.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2007-07-04T00:00:41Z</updated>
<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-test/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-test/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>Fix unsetenv and putenv prototypes to conform Open Group specs Issue 6</title>
<updated>2007-04-30T02:27:43Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2007-04-30T02:27:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=86580aa6fcb69e5a56682462273c5f8db1f4e8b6'/>
<id>urn:sha1:86580aa6fcb69e5a56682462273c5f8db1f4e8b6</id>
<content type='text'>
(also IEEE Std 1003.1-2001)
</content>
</entry>
<entry>
<title>Import of OpenBSD's strtonum(3) which is a nicer version of strtoll(3)</title>
<updated>2006-03-14T16:57:30Z</updated>
<author>
<name>Andre Oppermann</name>
<email>andre@FreeBSD.org</email>
</author>
<published>2006-03-14T16:57:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=c74dfa2faf6063f8648801f4528074ac770b779f'/>
<id>urn:sha1:c74dfa2faf6063f8648801f4528074ac770b779f</id>
<content type='text'>
providing proper error checking and other improvements.

Obtained from:	OpenBSD
Requested by:	flz (to port Open[BGP|OSPF]D)
MFC after:	3 days
</content>
</entry>
<entry>
<title>Expose the posix_memalign() prototype, now that the function is implemented</title>
<updated>2006-01-12T07:58:59Z</updated>
<author>
<name>Jason Evans</name>
<email>jasone@FreeBSD.org</email>
</author>
<published>2006-01-12T07:58:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=b3d51d3afcf9e60b57faa8e2b7b90bac7033c071'/>
<id>urn:sha1:b3d51d3afcf9e60b57faa8e2b7b90bac7033c071</id>
<content type='text'>
by libc.
</content>
</entry>
<entry>
<title>Add a64l(), l64a(), and l64a_r() XSI extentions.  These functions convert</title>
<updated>2005-12-24T22:37:59Z</updated>
<author>
<name>Tom Rhodes</name>
<email>trhodes@FreeBSD.org</email>
</author>
<published>2005-12-24T22:37:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=257551c6a0c7362d6eaf18bdee22e67e77023ebf'/>
<id>urn:sha1:257551c6a0c7362d6eaf18bdee22e67e77023ebf</id>
<content type='text'>
between a 32-bit integer and a radix-64 ASCII string.  The l64a_r() function
is a NetBSD addition.

PR:		51209 (based on submission, but very different)
Reviewed by:	bde, ru
</content>
</entry>
<entry>
<title>Add abort2() prototype</title>
<updated>2005-12-23T12:28:10Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2005-12-23T12:28:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=866196b69d3eea4762621c41c44f0ebb2f5e2296'/>
<id>urn:sha1:866196b69d3eea4762621c41c44f0ebb2f5e2296</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix the prototypes for devname() and devname_r(), the first two argument</title>
<updated>2005-09-12T15:58:15Z</updated>
<author>
<name>Stefan Farfeleder</name>
<email>stefanf@FreeBSD.org</email>
</author>
<published>2005-09-12T15:58:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=9d301680d634b4bf4e564b7893283d82fecf3143'/>
<id>urn:sha1:9d301680d634b4bf4e564b7893283d82fecf3143</id>
<content type='text'>
types are supposed to be dev_t and mode_t (prefixed with __ due to
namespace reasons).
</content>
</entry>
<entry>
<title>Implement rpmatch(), a semi-standard interface (as found on AIX, Tru64,</title>
<updated>2005-01-09T03:55:13Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2005-01-09T03:55:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=17ebe40096aa2c39d2396d737f9c69bccb134822'/>
<id>urn:sha1:17ebe40096aa2c39d2396d737f9c69bccb134822</id>
<content type='text'>
GNU) for determining whether a string is an affirmative or negative
response to a question according to the current locale. This is done
by matching the response against nl_langinfo(3) items YESEXPR and NOEXPR.
</content>
</entry>
<entry>
<title>POSIX clearly states that getsubopt() should be declared in &lt;stdlib.h&gt;,</title>
<updated>2004-02-23T03:16:59Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2004-02-23T03:16:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=8720578d06e298f65f736cbe66c98a309b86325f'/>
<id>urn:sha1:8720578d06e298f65f736cbe66c98a309b86325f</id>
<content type='text'>
not in &lt;unistd.h&gt;
</content>
</entry>
</feed>
