<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/regress/lib/libc/locale, branch OPENBSD_7_1_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_1_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_1_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2022-04-03T16:52:50+00:00</updated>
<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>
<entry>
<title>test nl_langinfo_l(3), iswalpha_l(3), towupper_l(3)</title>
<updated>2017-08-16T01:40:30+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2017-08-16T01:40:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0d02667578f313d232fc4590424e67b1e2824dc9'/>
<id>urn:sha1:0d02667578f313d232fc4590424e67b1e2824dc9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor in preparation for testing more functions; no functional change</title>
<updated>2017-08-15T23:46:51+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2017-08-15T23:46:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2212d71c5dd13ef2ea459eacaac28b58ac91b8e1'/>
<id>urn:sha1:2212d71c5dd13ef2ea459eacaac28b58ac91b8e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>first draft of tests for newlocale(3), duplocale(3), uselocale(3)</title>
<updated>2017-08-10T14:45:42+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2017-08-10T14:45:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=bbf79e8a4dc1bb551779fc57b56046a77c04a0da'/>
<id>urn:sha1:bbf79e8a4dc1bb551779fc57b56046a77c04a0da</id>
<content type='text'>
</content>
</entry>
</feed>
