History log of /freebsd-head/include/xlocale/_ctype.h
Revision Date Author Comments
d3308bc0e9f25f5851f71f004991fe4b97b0bb9a 25-Nov-2017 pfg <pfg@FreeBSD.org> include: General further adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using mis-identified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
00d578928eca75be320b36d37543a7e2a4f9fbdb 27-May-2016 grehan <grehan@FreeBSD.org> Create branch for bhyve graphics import.
979669d923dd13797ab49393a41f37ba706f6068 13-Oct-2015 bapt <bapt@FreeBSD.org> Commit log from Dragonfly:

FreeBSD extended ctypes to include numbers (e.g. isnumber()) but never
actually implemented it. The isnumber() function was equivalent to the
isdigit() function in every case.

Now that DragonFly's ctype source files have number definitions, the
number ctype can finally be implemented. It's given a new flag _CTYPE_N.
The isalnum() and iswalnum() functions have been changed to use this
flag rather than the _CTYPE_D digit flag.

While isalnum(), isnumber(), and their wide equivalents now return
different values in locale cases, the ishexnumber() and iswhexnumber()
functions are unchanged. They are still aliases for isxdigit() and

Also change ctype.h for isdigit and isxdigit to use sbistype like the
other functions.

Obtained from: dragonfly
eb1a5f8de9f7ea602c373a710f531abbf81141c4 21-Feb-2014 gjb <gjb@FreeBSD.org> Move ^/user/gjb/hacking/release-embedded up one directory, and remove
^/user/gjb/hacking since this is likely to be merged to head/ soon.

Sponsored by: The FreeBSD Foundation
6b01bbf146ab195243a8e7d43bb11f8835c76af8 27-Dec-2013 gjb <gjb@FreeBSD.org> Copy head@r259933 -> user/gjb/hacking/release-embedded for initial
inclusion of (at least) arm builds with the release.

Sponsored by: The FreeBSD Foundation
18400f04ea3bc1ecc13a019b4197f5ae44f7cb27 14-Nov-2012 demon <demon@FreeBSD.org> Use defined() to test macro definitions.

Approved by: theraven
e2f6a7e8b916335207e650fe212540287bcee49b 22-Apr-2012 theraven <theraven@FreeBSD.org> Fix a bug caused by some misplaced brackets.

Reported by: das
98f4b9082084ebf31fe132ff1120d552ee5917f7 13-Mar-2012 theraven <theraven@FreeBSD.org> And remove the duplicate inlines...

Approved by: dim (mentor)
2895bb961db29adc9d18fbc6acadf748724f80db 13-Mar-2012 theraven <theraven@FreeBSD.org> Fix the other missing prototypes.

Approved by: dim (mentor)
5c44253e519c4133e1b8dfb5ef9a0c223345c228 13-Mar-2012 theraven <theraven@FreeBSD.org> Add missing prototypes.

Approved by: dim (mentor)
75aeb0cde534161833de0e27f70d1e7d5206cd3d 13-Mar-2012 theraven <theraven@FreeBSD.org> More xlocale cleanups.

Approved by: dim (mentor)
b8d73c5617e43cf28eead705d64307c7fe69dd80 06-Mar-2012 dim <dim@FreeBSD.org> After r232498, programs built with -ansi or -std=c89 including <ctype.h>
would not compile anymore, due to plain 'inline' keywords. Fix this by
using __inline instead.

Reported by: Jia-Shiun Li <jiashiun@gmail.com>
Discussed with: theraven
b0968176b3a821598a31de6698e01931d1417584 04-Mar-2012 theraven <theraven@FreeBSD.org> Reapply 227753 (xlocale cleanup), plus some fixes so that it passes build
universe with gcc.

Approved by: dim (mentor)
22f749d90e97e5b3ffa074fbef5cdaf4ee857388 14-Feb-2012 dim <dim@FreeBSD.org> Revert r231673 and r231682 for now, until we can run a full make
universe with them. Sorry for the breakage.

Pointy hat to: me and brooks
b529e734cb0e714064ede8ada785785cf36328b3 14-Feb-2012 theraven <theraven@FreeBSD.org> Cleanup of xlocale:

- Address performance regressions encountered by das@ by caching per-thread
data in TLS where available.
- Add a __NO_TLS flag to cdefs.h to indicate where not available.
- Reorganise the xlocale.h definitions into xlocale/*.h so that they can be
included from multiple places.
- Export the POSIX2008 subset of xlocale when POSIX2008 says it should be
exported, independently of whether xlocale.h is included.
- Fix the bug where programs using ctype functions always assumed ASCII unless
- Fix some style(9) violations.

Reviewed by: brooks (mentor)
Approved by: dim (mentor)