<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libc/string/strerror.3, branch release/5.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2002-12-19T10:24:52Z</updated>
<entry>
<title>Add back the Standards section claiming conformance to 1003.1-2001 and</title>
<updated>2002-12-19T10:24:52Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2002-12-19T10:24:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c0dd63a8a86c5898580444f3ef9f112c1a7f2baa'/>
<id>urn:sha1:c0dd63a8a86c5898580444f3ef9f112c1a7f2baa</id>
<content type='text'>
C99 now that all known standards-related bugs have been fixed.
</content>
</entry>
<entry>
<title>Rearrange strerror() so that its itoa procedure can be used with</title>
<updated>2002-12-18T16:53:31Z</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2002-12-18T16:53:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5a98f074e6b1c2d0ab1bbad4cd23e7ac99a1ff2e'/>
<id>urn:sha1:5a98f074e6b1c2d0ab1bbad4cd23e7ac99a1ff2e</id>
<content type='text'>
strerror_r().  Doing this allows us to ensure that strerror_r() always
fills the supplied buffer regardless of EINVAL or ERANGE errors.

strerror()'s semantics have changed slightly such that an argument of
0 is now considered invalid and errno is set to EINVAL.

Remove internal regression test for strerror() and strerror_r().  This
will be reincarnated in src/tools/regression/lib/libc/string.

In strerror(3), add a comment about strerror()'s bogus return type.

PR:	44356
</content>
</entry>
<entry>
<title>Remove the Standards section again until we get these functions sorted</title>
<updated>2002-10-24T01:24:26Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2002-10-24T01:24:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6f9ed74abcf7352dcd9576c884909f23eec7b734'/>
<id>urn:sha1:6f9ed74abcf7352dcd9576c884909f23eec7b734</id>
<content type='text'>
out. This will probably have to wait until after 5.0-R.
</content>
</entry>
<entry>
<title>Add a Standards section, claiming conformance to IEEE Std. 1003.1-2001.</title>
<updated>2002-10-23T10:16:21Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2002-10-23T10:16:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=edafcb6d73c198ca5545e54f8cfd2a447178beaa'/>
<id>urn:sha1:edafcb6d73c198ca5545e54f8cfd2a447178beaa</id>
<content type='text'>
Also add a note to the Bugs section pointing out that strerror() and
perror() share the same static buffer.
</content>
</entry>
<entry>
<title>Revert last commit.  stdio.h include is for perror(), not strerror()</title>
<updated>2002-01-31T13:32:14Z</updated>
<author>
<name>Chris D. Faulhaber</name>
<email>jedgar@FreeBSD.org</email>
</author>
<published>2002-01-31T13:32:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ea018aa2605c6070c94b7b54bf6b9fe4d6631825'/>
<id>urn:sha1:ea018aa2605c6070c94b7b54bf6b9fe4d6631825</id>
<content type='text'>
</content>
</entry>
<entry>
<title>strerror(3) is in string.h, not stdio.h</title>
<updated>2002-01-31T13:20:48Z</updated>
<author>
<name>Chris D. Faulhaber</name>
<email>jedgar@FreeBSD.org</email>
</author>
<published>2002-01-31T13:20:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=066f7169c1b561bbd678755ae77ccb33a7e6555c'/>
<id>urn:sha1:066f7169c1b561bbd678755ae77ccb33a7e6555c</id>
<content type='text'>
MFC after:	1 week
</content>
</entry>
<entry>
<title>mdoc(7) police: minor markup nits.</title>
<updated>2001-12-12T15:02:32Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2001-12-12T15:02:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6184d98a2a10cd4f13783533e189fd79a56aed76'/>
<id>urn:sha1:6184d98a2a10cd4f13783533e189fd79a56aed76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make strerror and strerror_r use sys_errlist[0] for errnum = 0.  Be</title>
<updated>2001-12-07T06:28:58Z</updated>
<author>
<name>Wes Peters</name>
<email>wes@FreeBSD.org</email>
</author>
<published>2001-12-07T06:28:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=556f162ac01ccf2a3f501c0090aa6011fd723fdd'/>
<id>urn:sha1:556f162ac01ccf2a3f501c0090aa6011fd723fdd</id>
<content type='text'>
more careful about reporting truncation with ERANGE in strerror_r.
Set errno to EINVAL for "unknown" errnum in strerror as required
by P1003.1-200x Draft June 14, 2001.

More carefully document the handling of strerrbuf when errors
(ERANGE, EINVAL) are encountered in strerror_r.

Reviewed by:	bde (ongoing discussion)
</content>
</entry>
<entry>
<title>New, improved, more Posix-compliant strerror_r implementation,</title>
<updated>2001-12-06T04:53:31Z</updated>
<author>
<name>Wes Peters</name>
<email>wes@FreeBSD.org</email>
</author>
<published>2001-12-06T04:53:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f61a2ede84c391c2bc6212d37885d68cf07d4fe6'/>
<id>urn:sha1:f61a2ede84c391c2bc6212d37885d68cf07d4fe6</id>
<content type='text'>
complete with documentation.

Reviewed by:	mike@ gad@
MFC after:	1 week
</content>
</entry>
<entry>
<title>Add strerror_r function per Posix prototype.</title>
<updated>2001-11-27T07:39:46Z</updated>
<author>
<name>Wes Peters</name>
<email>wes@FreeBSD.org</email>
</author>
<published>2001-11-27T07:39:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9c324dc0c075cc7e28d39516f0f6213cc4550cd7'/>
<id>urn:sha1:9c324dc0c075cc7e28d39516f0f6213cc4550cd7</id>
<content type='text'>
Reviewed by:	Mike Barcroft &lt;mike@FreeBSD.org&gt;
MFC after:	2 weeks
</content>
</entry>
</feed>
