<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/locale, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>libc: Simplify __get_locale()</title>
<updated>2025-11-26T16:56:42+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2025-11-26T16:54:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5af240c54bd2d9548536c904e841499e1651bcc8'/>
<id>5af240c54bd2d9548536c904e841499e1651bcc8</id>
<content type='text'>
MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	fuz
Differential Revision:	https://reviews.freebsd.org/D53908
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	fuz
Differential Revision:	https://reviews.freebsd.org/D53908
</pre>
</div>
</content>
</entry>
<entry>
<title>packages: Install development manpages in the -dev package</title>
<updated>2025-10-26T02:26:06+00:00</updated>
<author>
<name>Lexi Winter</name>
<email>ivy@FreeBSD.org</email>
</author>
<published>2025-10-25T17:33:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=031e711647c3edc3021c1029496d6798a632697e'/>
<id>031e711647c3edc3021c1029496d6798a632697e</id>
<content type='text'>
Add a new per-group SUBPACKAGE option to bsd.man.mk.  When MANSPLITPKG
is enabled, this is forced to "-man", otherwise it defaults to empty
but can be overridden by the caller.

Use this in bsd.lib.mk to install library manpages in the -dev package
instead of the base package.  This is nearly always preferable, since
library manpages are usually in section 2 or 3 and are only relevant
to people with development packages installed.

For manpages which should be installed in the base package even for
libraries, add a new MANNODEV group in bsd.lib.mk.  Update existing
Makefiles to use this where appropriate.

MFC after:	3 days
Discussed with:	olce
Reviewed by:	olce
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D52832
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a new per-group SUBPACKAGE option to bsd.man.mk.  When MANSPLITPKG
is enabled, this is forced to "-man", otherwise it defaults to empty
but can be overridden by the caller.

Use this in bsd.lib.mk to install library manpages in the -dev package
instead of the base package.  This is nearly always preferable, since
library manpages are usually in section 2 or 3 and are only relevant
to people with development packages installed.

For manpages which should be installed in the base package even for
libraries, add a new MANNODEV group in bsd.lib.mk.  Update existing
Makefiles to use this where appropriate.

MFC after:	3 days
Discussed with:	olce
Reviewed by:	olce
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D52832
</pre>
</div>
</content>
</entry>
<entry>
<title>libc: locale: fix EUC shift check</title>
<updated>2025-04-20T18:29:45+00:00</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2025-04-20T18:29:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c4c562eadf3b790fa221e220d6a442f0cb84ca35'/>
<id>c4c562eadf3b790fa221e220d6a442f0cb84ca35</id>
<content type='text'>
wchar_t is unsigned on ARM platforms, and signed pretty much everywhere
else.  On signed platforms, `nm` ends up with bogus upper bits set if we
did in-fact have a valid CS2 or CS3 (MSB set).  Mask just the low byte
to avoid sign bit garbage.

Bare basic test of converting a CS2 widechar in eucCN, which would
previously kick back an EILSEQ.

Reviewed by:	bapt, rew
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D43262
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
wchar_t is unsigned on ARM platforms, and signed pretty much everywhere
else.  On signed platforms, `nm` ends up with bogus upper bits set if we
did in-fact have a valid CS2 or CS3 (MSB set).  Mask just the low byte
to avoid sign bit garbage.

Bare basic test of converting a CS2 widechar in eucCN, which would
previously kick back an EILSEQ.

Reviewed by:	bapt, rew
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D43262
</pre>
</div>
</content>
</entry>
<entry>
<title>collate: Add support for equivalence classes and collating symbols</title>
<updated>2025-04-10T09:44:23+00:00</updated>
<author>
<name>Bojan Novković</name>
<email>bnovkov@FreeBSD.org</email>
</author>
<published>2025-04-03T14:45:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b74a756a9f537c6da41d721075f69216160a08a6'/>
<id>b74a756a9f537c6da41d721075f69216160a08a6</id>
<content type='text'>
This change adds support for matching single and multi-character
equivalence classes and collating symbols, as specified
by POSIX1, section 9.3.5.

Sponsored by:	Klara, Inc.
Obtained from:	https://github.com/apple-oss-distributions/Libc
Differential Revision:	https://reviews.freebsd.org/D49659
Reviewed by:	markj
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change adds support for matching single and multi-character
equivalence classes and collating symbols, as specified
by POSIX1, section 9.3.5.

Sponsored by:	Klara, Inc.
Obtained from:	https://github.com/apple-oss-distributions/Libc
Differential Revision:	https://reviews.freebsd.org/D49659
Reviewed by:	markj
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove residual blank line at start of Makefile</title>
<updated>2024-07-15T22:43:39+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2024-07-15T04:46:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e9ac41698b2f322d55ccf9da50a3596edb2c1800'/>
<id>e9ac41698b2f322d55ccf9da50a3596edb2c1800</id>
<content type='text'>
This is a residual of the $FreeBSD$ removal.

MFC After: 3 days (though I'll just run the command on the branches)
Sponsored by: Netflix
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a residual of the $FreeBSD$ removal.

MFC After: 3 days (though I'll just run the command on the branches)
Sponsored by: Netflix
</pre>
</div>
</content>
</entry>
<entry>
<title>Update manual page references and macros to align to mandoc syntax</title>
<updated>2024-04-23T15:50:54+00:00</updated>
<author>
<name>Christopher Davidson</name>
<email>christopher.davidson@gmail.com</email>
</author>
<published>2024-02-09T03:57:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=96a2e036b7095e819cc536b6145950b54dffb929'/>
<id>96a2e036b7095e819cc536b6145950b54dffb929</id>
<content type='text'>
xlocale.3: Comment out reference to atof_l(3), atoi_l(3), atol_l(3), atoll_l(3)
  These manual page references do not exist.

lagg.4: Change the reference for /etc/rc.conf from a reference link
  .Xr -&gt; .Pa based on the context within the manual page it is used.

buf.9: Remove .Xr entries from the file
  The buf.9 manual page contains a commented out .Xr reference.
  The &lt;filmmein&gt; 9 entry is a placeholder and has been removed for
  clarity.

Reviewed by:	mhorne
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1114
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
xlocale.3: Comment out reference to atof_l(3), atoi_l(3), atol_l(3), atoll_l(3)
  These manual page references do not exist.

lagg.4: Change the reference for /etc/rc.conf from a reference link
  .Xr -&gt; .Pa based on the context within the manual page it is used.

buf.9: Remove .Xr entries from the file
  The buf.9 manual page contains a commented out .Xr reference.
  The &lt;filmmein&gt; 9 entry is a placeholder and has been removed for
  clarity.

Reviewed by:	mhorne
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1114
</pre>
</div>
</content>
</entry>
<entry>
<title>libc(localeconv.c): fix "appropriate" spelling</title>
<updated>2024-04-12T22:34:51+00:00</updated>
<author>
<name>rilysh</name>
<email>nightquick@proton.me</email>
</author>
<published>2024-04-12T22:32:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2f1da80f21bf95607b0fb5f3ec15d65aa6a323a0'/>
<id>2f1da80f21bf95607b0fb5f3ec15d65aa6a323a0</id>
<content type='text'>
From "approprate" to "appropriate".

Signed-off-by: rilysh &lt;nightquick@proton.me&gt;
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1119
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From "approprate" to "appropriate".

Signed-off-by: rilysh &lt;nightquick@proton.me&gt;
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1119
</pre>
</div>
</content>
</entry>
<entry>
<title>libc/locale: don't expose nonexistant __collate_load_error</title>
<updated>2024-03-05T01:00:50+00:00</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2024-03-05T01:00:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ec911a4f105d3ce3065ff54fc70662f06fc52e57'/>
<id>ec911a4f105d3ce3065ff54fc70662f06fc52e57</id>
<content type='text'>
The private symbol __collate_load_error was removed in 2015 in commit
2a6abeebef96.  While it had previously been accidently removed in 2011
(commit 3c87aa1d3dc1a) and restored in 2012 (commit bb4317bf3c99) I
think it's time to write it off after four major releases without it.

Fixes:		2a6abeebef96 The collate functions within libc have...

Reviewed by:	bapt
Differential Revision:	https://reviews.freebsd.org/D44182
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The private symbol __collate_load_error was removed in 2015 in commit
2a6abeebef96.  While it had previously been accidently removed in 2011
(commit 3c87aa1d3dc1a) and restored in 2012 (commit bb4317bf3c99) I
think it's time to write it off after four major releases without it.

Fixes:		2a6abeebef96 The collate functions within libc have...

Reviewed by:	bapt
Differential Revision:	https://reviews.freebsd.org/D44182
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: Remove ancient SCCS tags.</title>
<updated>2023-11-27T05:23:28+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-11-23T17:21:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=dc36d6f9bb1753f3808552f3afd30eda9a7b206a'/>
<id>dc36d6f9bb1753f3808552f3afd30eda9a7b206a</id>
<content type='text'>
Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by:		Netflix
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by:		Netflix
</pre>
</div>
</content>
</entry>
<entry>
<title>libc: remove some obsolete VCS data</title>
<updated>2023-11-21T22:46:43+00:00</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2023-11-21T22:46:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9fc0ff9d85b1497b45a4c6d74e0bc7eea9dcf37b'/>
<id>9fc0ff9d85b1497b45a4c6d74e0bc7eea9dcf37b</id>
<content type='text'>
These wide char support files were copied from the previous versions
with expanded $FreeBSD$ strings in #if 0 blocks.  Remove them and the
scssid definitions in the same #if 0 blocks.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D42688
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These wide char support files were copied from the previous versions
with expanded $FreeBSD$ strings in #if 0 blocks.  Remove them and the
scssid definitions in the same #if 0 blocks.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D42688
</pre>
</div>
</content>
</entry>
</feed>
