History log of /freebsd-current/include/xlocale/_ctype.h
Revision Date Author Comments
# b3e76948 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix


# 301d1de6 16-Dec-2021 Ed Maste <emaste@FreeBSD.org>

Remove 'All Rights Reserved' from xlocale FreeBSD Foundation copyrights

Sponsored by: The FreeBSD Foundation


# e58eb3c4 25-Nov-2017 Pedro F. Giffuni <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.


# f5dde016 13-Oct-2015 Baptiste Daroussin <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
iswxdigit().

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

Obtained from: dragonfly


# 40455cf3 14-Nov-2012 Dmitry Sivachenko <demon@FreeBSD.org>

Use defined() to test macro definitions.

Approved by: theraven


# e36c7d52 22-Apr-2012 David Chisnall <theraven@FreeBSD.org>

Fix a bug caused by some misplaced brackets.

Reported by: das


# c5c1d739 13-Mar-2012 David Chisnall <theraven@FreeBSD.org>

And remove the duplicate inlines...

Approved by: dim (mentor)


# 9fa42222 13-Mar-2012 David Chisnall <theraven@FreeBSD.org>

Fix the other missing prototypes.

Approved by: dim (mentor)


# 3fad4c34 13-Mar-2012 David Chisnall <theraven@FreeBSD.org>

Add missing prototypes.

Approved by: dim (mentor)


# 4d7815ec 13-Mar-2012 David Chisnall <theraven@FreeBSD.org>

More xlocale cleanups.

Approved by: dim (mentor)


# b1e45245 06-Mar-2012 Dimitry Andric <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


# a8ed63bb 04-Mar-2012 David Chisnall <theraven@FreeBSD.org>

Reapply 227753 (xlocale cleanup), plus some fixes so that it passes build
universe with gcc.

Approved by: dim (mentor)


# 82dd5016 13-Feb-2012 David Chisnall <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
recompiled.
- Fix some style(9) violations.

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