]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
With regard to ctype, digits (e.g. 0 to 9) and xdigits (the 0 to 9 portion
authorBaptiste Daroussin <bapt@FreeBSD.org>
Mon, 19 Oct 2015 14:30:28 +0000 (14:30 +0000)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Mon, 19 Oct 2015 14:30:28 +0000 (14:30 +0000)
commit227d35dac09fe050eb94c892694b7da727ae39ed
tree5cbe253186dfcb3f6fb2db1f4759b7996aa5ef63
parent031c294c1d25a6b9b62a50a2dfdb300c9ca22f2b
With regard to ctype, digits (e.g. 0 to 9) and xdigits (the 0 to 9 portion
of hexidecimal numbers) are all considered "numbers".  (Note that while
all digits are numbers, not all numbers are digits).

Enhance localedef to automatically set the "number" characteristic when
it encounters a digit or xdigit definition. This fixes malfunctionning
isalnum(3)

Obtained from: DragonflyBSD
usr.bin/localedef/ctype.c