<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/citrus, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/citrus?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/citrus?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2016-09-07T17:15:06Z</updated>
<entry>
<title>Trivial cleanup: Pass pointers of the correct types to the private</title>
<updated>2016-09-07T17:15:06Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2016-09-07T17:15:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=de48c816001f4089ba44c6a1d1dfd9219af4061d'/>
<id>urn:sha1:de48c816001f4089ba44c6a1d1dfd9219af4061d</id>
<content type='text'>
functions and delete a macro that is used in only one place;
no functional change.
This completes the audit of the citrus directory (only 3 files left).
</content>
</entry>
<entry>
<title>trivial cleanup: delete inline attribute on static function,</title>
<updated>2016-09-07T17:10:43Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2016-09-07T17:10:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6fedc7a302eddf88cf367971e4cecf2896b23135'/>
<id>urn:sha1:6fedc7a302eddf88cf367971e4cecf2896b23135</id>
<content type='text'>
leave that decision to the compiler; no functional change
</content>
</entry>
<entry>
<title>trivial cleanup:</title>
<updated>2016-09-07T17:06:23Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2016-09-07T17:06:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8558486a184f01680d3b29a9541a9a2dc8882c91'/>
<id>urn:sha1:8558486a184f01680d3b29a9541a9a2dc8882c91</id>
<content type='text'>
- delete unused headers
- add missing function prototype
- delete needless casts of return values
- KNF: return is not a function
- KNF: do not use a pointer as a boolean
- consistent wording in comments: s/octets/bytes/
OK gcc: no object change after strip -g
</content>
</entry>
<entry>
<title>Delete some abstraction that we don't and won't need.</title>
<updated>2016-09-05T09:47:02Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2016-09-05T09:47:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=754110ae85a7be217b20315e864399d54efce67d'/>
<id>urn:sha1:754110ae85a7be217b20315e864399d54efce67d</id>
<content type='text'>
Declare functions rather than generating declarations with macros.
Just call functions rather than mainting function pointer tables.
Purge unused arguments.  Simplify mbstate_t casting.
Garbage collect one empty and one unused function.

As a bonus, make mbsinit(3) work at all, it returned garbage
in the past due to a missing cast when passing mbstate_t.
Apart from that, no functional change.

No libc bump needed; only private functions are removed and
change prototype and only private structs change size.

OK stsp@ mpi@; deraadt@ likes the general direction.
</content>
</entry>
<entry>
<title>delete old lint ARGSUSED comments</title>
<updated>2015-11-01T03:45:28Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-11-01T03:45:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=10632a79cc0d3f2730baa9fb977894fdccb4f611'/>
<id>urn:sha1:10632a79cc0d3f2730baa9fb977894fdccb4f611</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tighten the ranges in wcrtomb(3).</title>
<updated>2015-10-13T02:17:46Z</updated>
<author>
<name>bentley</name>
<email>bentley@openbsd.org</email>
</author>
<published>2015-10-13T02:17:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fdb7d9f4343bf612b5bcf0901babc2ff737822ad'/>
<id>urn:sha1:fdb7d9f4343bf612b5bcf0901babc2ff737822ad</id>
<content type='text'>
By definition, the range of valid Unicode code points is the union of
U+0000..U+D7FF and U+E000..U+10FFFF (see Unicode 8.0.0, chapter 3.9).

In UTF-16, the encoded values that would represent U+D800..U+DFFF are
used for surrogate pairs. UTF-8 has no concept of surrogate pairs;
attempting to treat them as regular code points violates the standard
and makes no sense besides.

ok stsp@
</content>
</entry>
<entry>
<title>Make wcrtomb() more readable by weeding out range errors up front,</title>
<updated>2015-10-12T17:50:51Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2015-10-12T17:50:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=962a275c4d0d417f0012859e08219a019f846522'/>
<id>urn:sha1:962a275c4d0d417f0012859e08219a019f846522</id>
<content type='text'>
doing ASCII handling once rather than twice, and using &lt;= rather
than ((&amp;~)==) obfuscation (which already caused a bug in the past).
No functional change.
Joint work with and OK stsp@ semarie@ bentley@
</content>
</entry>
<entry>
<title>Code points U+10000 to U+fffff are valid, too.</title>
<updated>2015-10-10T13:54:22Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2015-10-10T13:54:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c9a21f1470077af657c520286f0cc62dd791a50b'/>
<id>urn:sha1:c9a21f1470077af657c520286f0cc62dd791a50b</id>
<content type='text'>
Fixing a regression in wcrtomb(3) found with the mandoc testsuite
that was caused by the last commit.
OK semarie@ bentley@
</content>
</entry>
<entry>
<title>correct a range problem in citrus-utf8 version of wcrtomb(3), in order to match</title>
<updated>2015-09-26T14:22:40Z</updated>
<author>
<name>semarie</name>
<email>semarie@openbsd.org</email>
</author>
<published>2015-09-26T14:22:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=93d2e2ca83a2efb303d75faa62c2a9a370a5ab9e'/>
<id>urn:sha1:93d2e2ca83a2efb303d75faa62c2a9a370a5ab9e</id>
<content type='text'>
RFC 3629 (limiting the range of UTF-8 to 0x10FFFF).

it is the counterpart of a previous commit correcting mbrtowc(3).

problem spotted by stsp

ok bentley@ stsp@
</content>
</entry>
<entry>
<title>off-by-one for the previous patch. the limit is inclusive: 0x10ffff is a valid codepoint.</title>
<updated>2015-09-05T15:22:04Z</updated>
<author>
<name>semarie</name>
<email>semarie@openbsd.org</email>
</author>
<published>2015-09-05T15:22:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8c886ad5b75bf18c2e3f4322755ad1dccddde407'/>
<id>urn:sha1:8c886ad5b75bf18c2e3f4322755ad1dccddde407</id>
<content type='text'>
ok stsp@
</content>
</entry>
</feed>
