freebsd-dev/lib/libc/locale
Mark Johnston 57e642365b libc: Fix a few bugs in the xlocale collation code.
- Fix checks for mmap() failures. [1]
- Set the "map" and "maplen" fields of struct xlocale_collate so that
  the table destructor actually does something.
- Free an already-mapped collation file before loading a new one into
  the global table.
- Harmonize the prototype and definition of __collate_load_tables_l() by
  adding the "static" qualifier to the latter.

PR:		243195
Reported by:	cem [1]
Reviewed by:	cem, yuripv
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D23109
2020-01-09 20:49:26 +00:00
..
ascii.c
big5.5 Improve the description of big5(5) 2019-09-14 08:15:16 +00:00
big5.c
btowc.3
btowc.c
c16rtomb_iconv.c
c16rtomb.c Fix WITHOUT_ICONV build after r340276. 2018-11-14 09:06:15 +00:00
c32rtomb_iconv.c
c32rtomb.c Fix WITHOUT_ICONV build after r340276. 2018-11-14 09:06:15 +00:00
collate.c libc: Fix a few bugs in the xlocale collation code. 2020-01-09 20:49:26 +00:00
collate.h
collcmp.c
ctype_l.3
ctype.3
ctype.c
cXXrtomb_iconv.h Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
DESIGN.xlocale
digittoint.3
duplocale.3
euc.5 In FreeBSD 11 localedef(1) has replaced the mklocale(1) and colldef(1) 2019-09-10 07:47:52 +00:00
euc.c
fix_grouping.c localeconv: correct grouping and mon_grouping per C/POSIX 2019-12-19 17:01:25 +00:00
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
mblen.3
mblen.c Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
mblocal.h Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
mbrlen.3
mbrlen.c Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
mbrtoc16_iconv.c
mbrtoc16.c Fix WITHOUT_ICONV build after r340276. 2018-11-14 09:06:15 +00:00
mbrtoc32_iconv.c
mbrtoc32.c Fix WITHOUT_ICONV build after r340276. 2018-11-14 09:06:15 +00:00
mbrtocXX_iconv.h Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
mbrtowc.3
mbrtowc.c Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
mbsinit.3
mbsinit.c
mbsnrtowcs.c Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
mbsrtowcs.3
mbsrtowcs.c Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
mbstowcs.3
mbstowcs.c
mbtowc.3
mbtowc.c Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
mskanji.5
mskanji.c
multibyte.3 In FreeBSD 11 localedef(1) has replaced the mklocale(1) and colldef(1) 2019-09-10 07:47:52 +00:00
newlocale.3
nextwctype.3
nextwctype.c
nl_langinfo.3
nl_langinfo.c
nomacros.c
none.c
querylocale.3
rpmatch.3
rpmatch.c
rune.c libc: Fix a few bugs in the xlocale collation code. 2020-01-09 20:49:26 +00:00
runefile.h
runetype.c
setlocale.3 In FreeBSD 11 localedef(1) has replaced the mklocale(1) and colldef(1) 2019-09-10 07:47:52 +00:00
setlocale.c
setlocale.h
setrunelocale.c Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +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 Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
wcsftime.3
wcsftime.c
wcsnrtombs.c Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
wcsrtombs.3
wcsrtombs.c Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
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 Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
wctrans.3
wctrans.c
wctype.3
wctype.c
wcwidth.3
wcwidth.c
xlocale_private.h Reset persistent mbstates when rune locale encoding changes. 2018-11-09 03:32:53 +00:00
xlocale.3
xlocale.c