<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/regress/lib/libc/locale, branch OPENBSD_7_6_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_6_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_6_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2024-02-05T06:48:04+00:00</updated>
<entry>
<title>Cope with recent ctype.h prefix changes.</title>
<updated>2024-02-05T06:48:04+00:00</updated>
<author>
<name>anton</name>
<email></email>
</author>
<published>2024-02-05T06:48:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a63b7c65e9e6cae9a78b67cf1aac3dd020d0f300'/>
<id>urn:sha1:a63b7c65e9e6cae9a78b67cf1aac3dd020d0f300</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove test of non-portable implementation details (whether wctype_t</title>
<updated>2022-07-25T21:29:16+00:00</updated>
<author>
<name>guenther</name>
<email></email>
</author>
<published>2022-07-25T21:29:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=03a90f92e28ce62196242faa382c3162471f9f73'/>
<id>urn:sha1:03a90f92e28ce62196242faa382c3162471f9f73</id>
<content type='text'>
and wctrans_t values are locale-specific) so we can simplify our
implementation in libc

ok schwarze@
</content>
</entry>
<entry>
<title>Separate the macro for generating string test functions</title>
<updated>2022-07-25T15:29:21+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2022-07-25T15:29:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c3a86f16bf9b403fa5e35013eac4b5c2a82573df'/>
<id>urn:sha1:c3a86f16bf9b403fa5e35013eac4b5c2a82573df</id>
<content type='text'>
for the macro generating test functions for other data types.
This makes sense because both are sufficiently different.

It also avoids a large number of false positive compiler warnings
that guenther@ reported.

OK guenther@
</content>
</entry>
<entry>
<title>Initialize the mutex before making us of it from many threads. Prevents</title>
<updated>2022-04-03T16:52:50+00:00</updated>
<author>
<name>anton</name>
<email></email>
</author>
<published>2022-04-03T16:52:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a46afc15b79c1deda49ec8ee141c1c5cdcd050d9'/>
<id>urn:sha1:a46afc15b79c1deda49ec8ee141c1c5cdcd050d9</id>
<content type='text'>
a race in which one thread is currently initializing the mutex which is
not an atomic operation whereas another thread tries to use it too
early.

With and ok schwarze@
</content>
</entry>
<entry>
<title>fix a bug that resulted in incomplete testing:</title>
<updated>2021-07-03T12:04:53+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2021-07-03T12:04:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5a7a2be29e182215a4c85ca1bd0497c14c641017'/>
<id>urn:sha1:5a7a2be29e182215a4c85ca1bd0497c14c641017</id>
<content type='text'>
end statements with ';' because ',' isn't enough
</content>
</entry>
<entry>
<title>cstyle in illumos noticed some weird syntax, which this fixes.</title>
<updated>2020-03-09T09:29:10+00:00</updated>
<author>
<name>dlg</name>
<email></email>
</author>
<published>2020-03-09T09:29:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=510f85f80530de8e0758e23bc12d1dc1ea315185'/>
<id>urn:sha1:510f85f80530de8e0758e23bc12d1dc1ea315185</id>
<content type='text'>
some errx lines in if statements were terminated with commas, which
caused the following statement to be considered part of the error
handling. while it is bad style, ingo points out it was also a bug
which which caused some tests in the code to be skipped.

this reminds me of a haiku that Chris Pascoe (cpascoe@) had behind
his desk:

	Also, that comma
	Should be a semi-colon.
	Cherry blossoms fall.

this was found by Robert Mustacchi when porting the tests to illumos.
ok schwarze@ stsp@

thank you robert.
</content>
</entry>
<entry>
<title>Link forgotten libc tests to the build.</title>
<updated>2020-01-13T15:35:57+00:00</updated>
<author>
<name>bluhm</name>
<email></email>
</author>
<published>2020-01-13T15:35:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=752a33fadc4f7ef62d2d88ddf0c9a72ac23dfbd4'/>
<id>urn:sha1:752a33fadc4f7ef62d2d88ddf0c9a72ac23dfbd4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix three bugs in setlocale(3):</title>
<updated>2018-03-29T16:34:25+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2018-03-29T16:34:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4cf76254cac6b537721bfd4326b9389be6d052a4'/>
<id>urn:sha1:4cf76254cac6b537721bfd4326b9389be6d052a4</id>
<content type='text'>
1. setlocale(LC_ALL, "A"); setlocale(LC_CTYPE, "T"); setlocale(LC_ALL, NULL);
must return "A/T/A/A/A/A", not "A".  Fix this by always initializing the
LC_ALL entry of newgl to "" in dupgl().  Reported by Karl Williamson
&lt;public at khwilliamson dot com&gt; on bugs@, thanks!
2. Do not leak newgl when strdup(3) fails in setlocale(3).
3. For setlocale(LC_ALL, "C/C/fr_FR.UTF-8/C/C/C"); correctly set
_GlobalRuneLocale; i found 2. and 3. while looking at the code.
Feedback on a buggy earlier version and OK martijn@.
</content>
</entry>
<entry>
<title>test locale priorities and overrides</title>
<updated>2017-08-16T13:52:50+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2017-08-16T13:52:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=723304ab639fa285670c0372cb23ef768928d4ab'/>
<id>urn:sha1:723304ab639fa285670c0372cb23ef768928d4ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test isalpha_l(3), tolower_l(3), wctype_l(3), iswctype_l(3),</title>
<updated>2017-08-16T13:23:56+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2017-08-16T13:23:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a23a965414c121d5c0d14df50e0e085af78cce60'/>
<id>urn:sha1:a23a965414c121d5c0d14df50e0e085af78cce60</id>
<content type='text'>
wctrans_l(3), towctrans_l(3), wcscasecmp_l(3), wcsncasecmp_l(3),
and strerror_l(3)
</content>
</entry>
</feed>
