1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-01 17:00:36 +00:00
freebsd/lib/libc/locale
Pedro F. Giffuni 3c2c0c0443 libc/locale: Fix type breakage in __collate_range_cmp().
When collation support was brought in, the second and third
arguments in __collate_range_cmp() were changed from int to
wchar_t, breaking the ABI. Change them to a "char" type which
makes more sense and keeps the ABI compatible.

Also introduce __wcollate_range_cmp() which does work with wide
characters. This function is used only internally in libc so
we don't export it. Use the new function in glob(3), fnmatch(3),
and regexec(3).

PR:		179721
Suggested by:	ache. jilles
MFC after:	3 weeks (perhaps partial only)
2016-06-05 19:12:52 +00:00
..
ascii.c For EILSEQ case in mbsnrtowcs() and wcsnrtombs() update src to point to 2016-05-31 18:44:33 +00:00
big5.5
big5.c
btowc.3
btowc.c
c16rtomb_iconv.c
c16rtomb.c
c32rtomb_iconv.c
c32rtomb.c
collate.c libc: spelling fixes. 2016-04-30 01:24:24 +00:00
collate.h libc/locale: Fix type breakage in __collate_range_cmp(). 2016-06-05 19:12:52 +00:00
collcmp.c libc/locale: Fix type breakage in __collate_range_cmp(). 2016-06-05 19:12:52 +00:00
ctype_l.3
ctype.3
ctype.c
cXXrtomb_iconv.h
DESIGN.xlocale
digittoint.3
duplocale.3
euc.5
euc.c EUC-type encodings don't have single byte characters >= 128 2016-04-04 02:43:35 +00:00
fix_grouping.c
freelocale.3
gb2312.5
gb2312.c
gb18030.5
gb18030.c
gbk.5
gbk.c
isalnum.3
isalpha.3
isascii.3
isblank.3
iscntrl.3
isctype.c
isdigit.3
isgraph.3
isideogram.3
islower.3
isphonogram.3
isprint.3
ispunct.3
isrune.3
isspace.3
isspecial.3
isupper.3
iswalnum_l.3
iswalnum.3
iswctype.c
isxdigit.3
ldpart.c
ldpart.h
lmessages.c
lmessages.h
lmonetary.c
lmonetary.h
lnumeric.c
lnumeric.h
localeconv.3
localeconv.c
Makefile.inc Link localeconv(3) to localeconv_l(3) 2015-11-25 09:12:30 +00:00
mblen.3
mblen.c
mblocal.h locales: Enforce US-ASCII encoding (limited to 7-bit) 2015-11-09 22:06:22 +00:00
mbrlen.3
mbrlen.c
mbrtoc16_iconv.c
mbrtoc16.c
mbrtoc32_iconv.c
mbrtoc32.c
mbrtocXX_iconv.h
mbrtowc.3
mbrtowc.c
mbsinit.3
mbsinit.c
mbsnrtowcs.c
mbsrtowcs.3
mbsrtowcs.c
mbstowcs.3
mbstowcs.c
mbtowc.3
mbtowc.c mbtowc(3): set errno to EILSEQ if an incomplete character is passed. 2016-03-01 19:15:34 +00:00
mskanji.5
mskanji.c SJIS encoding don't have single byte characters >= 224 2016-04-04 15:56:14 +00:00
multibyte.3
newlocale.3
nextwctype.3
nextwctype.c
nl_langinfo.3
nl_langinfo.c libc: spelling fixes. 2016-04-30 01:24:24 +00:00
nomacros.c
none.c For EILSEQ case in mbsnrtowcs() and wcsnrtombs() update src to point to 2016-05-31 18:44:33 +00:00
querylocale.3
rpmatch.3
rpmatch.c
rune.c
runefile.h
runetype.c
setlocale.3
setlocale.c
setlocale.h
setrunelocale.c locales: Enforce US-ASCII encoding (limited to 7-bit) 2015-11-09 22:06:22 +00:00
Symbol.map
table.c
toascii.3
tolower.3
tolower.c
toupper.3
toupper.c
towlower.3
towupper.3
uselocale.3
utf8.5
utf8.c
wcrtomb.3
wcrtomb.c
wcsftime.3
wcsftime.c
wcsnrtombs.c
wcsrtombs.3
wcsrtombs.c
wcstod.3
wcstod.c
wcstof.c
wcstoimax.c
wcstol.3
wcstol.c
wcstold.c
wcstoll.c
wcstombs.3
wcstombs.c
wcstoul.c
wcstoull.c
wcstoumax.c
wctob.c
wctomb.3
wctomb.c
wctrans.3
wctrans.c
wctype.3
wctype.c
wcwidth.3
wcwidth.c
xlocale_private.h libc: replace 0 with NULL for pointers. 2016-04-10 19:33:58 +00:00
xlocale.3
xlocale.c