<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/locale, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/locale?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/locale?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-07-03T03:24:01Z</updated>
<entry>
<title>snprintf/vsnprintf return &lt; 0 on error, rather than -1.</title>
<updated>2019-07-03T03:24:01Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-07-03T03:24:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=515e489c3d599b9cfcdf9cf6842ac49f92e154d6'/>
<id>urn:sha1:515e489c3d599b9cfcdf9cf6842ac49f92e154d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>When system calls indicate an error they return -1, not some arbitrary</title>
<updated>2019-06-28T13:32:41Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-06-28T13:32:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=df69c215c7c66baf660f3f65414fd34796c96152'/>
<id>urn:sha1:df69c215c7c66baf660f3f65414fd34796c96152</id>
<content type='text'>
value &lt; 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
</content>
</entry>
<entry>
<title>POSIX.1-2008 TC3 is going to clarify how newlocale(3) uses oldloc.</title>
<updated>2019-06-25T17:40:24Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2019-06-25T17:40:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2df428d4df160cb5d7239c3016c9038a15a36933'/>
<id>urn:sha1:2df428d4df160cb5d7239c3016c9038a15a36933</id>
<content type='text'>
Explicitly state that our implementation now complies with the
stricter requirements of TC3 because the newlocale(3) in old OpenBSD
releases only complied with the weaker requirements of the old text
of the standard.  The complaints from our users resulted in both
our implementation and the standard being improved.
For details, see: http://austingroupbugs.net/view.php?id=1243#c4347
</content>
</entry>
<entry>
<title>Copy categories outside "mask" from "oldloc" to the new locale object.</title>
<updated>2019-03-29T12:34:44Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2019-03-29T12:34:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7c81c89b3f8c422303ab723e77b864ba5b76ce0f'/>
<id>urn:sha1:7c81c89b3f8c422303ab723e77b864ba5b76ce0f</id>
<content type='text'>
While POSIX appears to allow the old behaviour of ignoring "oldloc",
Ted and Karl convinced me that is a bug in the spec and the Austin
group almost certainly intended to require the new behaviour.
Anyway, compatibility strongly suggests the new behaviour because
most (or maybe even all?) other systems do not ignore "oldloc",
and some software appears to depend on the copying from "oldloc"
to the new locale.

Issue analyzed and reported by Karl Williamson &lt;public at
khwilliamson dot com&gt; with support from the Perl 5 community.
This final diff is similar to two earlier diffs from Ted,
but handles invalid input in a mode robust way.
OK tedu@.
</content>
</entry>
<entry>
<title>Improve the description of locale dependency:</title>
<updated>2019-01-18T07:43:36Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2019-01-18T07:43:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8fb85c7dd161b84cedb801bc6bad9a6815edf9a1'/>
<id>urn:sha1:8fb85c7dd161b84cedb801bc6bad9a6815edf9a1</id>
<content type='text'>
* mention LC_COLLATE;
* clarify that all these functions are infested, including the *_l() versions;
* avoid ENVIRONMENT, these functions don't inspect it;
* and point to the C library functions that change the locale.
OK millert@
</content>
</entry>
<entry>
<title>For all functions known to be infected by LC_NUMERIC, add short</title>
<updated>2019-01-16T12:55:49Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2019-01-16T12:55:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a41d0f37be18caa1a290a21e618cbb06c70ee94f'/>
<id>urn:sha1:a41d0f37be18caa1a290a21e618cbb06c70ee94f</id>
<content type='text'>
CAVEATS pointing to the new CAVEATS section in setlocale(3).
Make those in wprintf(3) and wscanf(3) more concise
since duplicate information is a bad idea.
Incompleteness of information originally pointed out by millert@.
OK millert@
</content>
</entry>
<entry>
<title>Warn against using any categories but LC_CTYPE in setlocale(3) and</title>
<updated>2019-01-13T22:57:08Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2019-01-13T22:57:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4d16b858e6a0c83334840e4d0c0750735c6c1b39'/>
<id>urn:sha1:4d16b858e6a0c83334840e4d0c0750735c6c1b39</id>
<content type='text'>
list many (hopefully the most important) functions affected by the
locale, such that the CAVEATS sections in individual manual pages
can be kept shorter in the future;
basic idea from millert@; feedback and OK jmc@; OK deraadt@.
</content>
</entry>
<entry>
<title>mention which locale categories this is related to, and add SEE ALSO</title>
<updated>2018-04-04T15:04:37Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2018-04-04T15:04:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=690a8f5dafea1181c79ca744b223ccca10c606bc'/>
<id>urn:sha1:690a8f5dafea1181c79ca744b223ccca10c606bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add SEE ALSO</title>
<updated>2018-04-04T14:57:51Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2018-04-04T14:57:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9f6079de5bbfe95e2640e7fa07cdee78156b40a3'/>
<id>urn:sha1:9f6079de5bbfe95e2640e7fa07cdee78156b40a3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Split the useless localeconv(3) function out of the important</title>
<updated>2018-04-04T14:53:02Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2018-04-04T14:53:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e6d2a11ea709e0b3259195070b2ffb5485aa7287'/>
<id>urn:sha1:e6d2a11ea709e0b3259195070b2ffb5485aa7287</id>
<content type='text'>
setlocale(3) manual page, such that the latter becomes easier
to read.  No text change.
</content>
</entry>
</feed>
