freebsd-src/lib/libc/nls
Andrey A. Chernov 0c2af93e3a MFC r304703, r304755
1) _locale.h
LC_*_MASK bit shifting order was partially broken from the initial commit
time at year 2012. Only LC_COLLATE_MASK and LC_CTYPE_MASK are in the
right order.

The order here should match XLC_* from "xlocale_private.h" which, in turn,
match LC_* publicly visible order from <locale.h> which determines how
locale components are stored in the structure.
LC_*_MASK -> XLC_* translation done as "ffs(mask) - 1" in the querylocale()
and equivalent shift loop in the newlocale(), so mapped to some wrong
components (excluding two mentioned above).

Formally the fix is ABI breakage, but old code using those masks
never works properly in any case.
Only newlocale() and querylocale() are affected.

2) msgcat.c
Use current locale (f.e. set by thread). It was global locale always
previously.

PR:     211743
2016-08-26 21:19:23 +00:00
..
be_BY.UTF-8.msg - Add Belarusian catalog 2009-03-24 23:31:41 +00:00
C.msg POSIX 1003.1-2008: add ENOTRECOVERABLE, EOWNERDEAD errnos. 2013-05-04 19:07:22 +00:00
ca_ES.ISO8859-1.msg
catclose.3
catgets.3
catopen.3
de_DE.ISO8859-1.msg Improve the German translation. 2009-03-25 12:36:37 +00:00
el_GR.ISO8859-7.msg
es_ES.ISO8859-1.msg - Update the Spanish NLS catalog 2009-12-03 19:27:12 +00:00
fi_FI.ISO8859-1.msg
fr_FR.ISO8859-1.msg libc: Fix typo in French translation. 2013-04-14 11:44:47 +00:00
gl_ES.ISO8859-1.msg - Update Galician catalog 2010-01-21 11:36:40 +00:00
hu_HU.ISO8859-2.msg - Update Hungarian libc catalog 2009-11-17 18:57:44 +00:00
it_IT.ISO8859-15.msg
ja_JP.eucJP.msg Add Japanese catalogue entries for newer errnos: EBADMSG, EMULTIHOP, 2009-11-10 03:56:51 +00:00
ja_JP.UTF-8.msg Add Japanese catalogue entries for newer errnos: EBADMSG, EMULTIHOP, 2009-11-10 03:56:51 +00:00
ko_KR.eucKR.msg Sync with C.msg r199083. 2009-11-16 19:10:09 +00:00
ko_KR.UTF-8.msg Sync with C.msg r199083. 2009-11-16 19:10:09 +00:00
Makefile.inc Add derived versions for common Simplified Chinese encodings. 2012-12-28 01:23:12 +00:00
mn_MN.UTF-8.msg
msgcat.c MFC r304703, r304755 2016-08-26 21:19:23 +00:00
nl_NL.ISO8859-1.msg Synchronize with C.msg revision 199083 and improve some existing messages. 2009-11-11 18:28:12 +00:00
no_NO.ISO8859-1.msg
pl_PL.ISO8859-2.msg
pt_BR.ISO8859-1.msg - Fix typo 2009-03-18 14:33:10 +00:00
ru_RU.KOI8-R.msg Merge from English r198040: add C message catalogue entries for newer 2010-06-20 06:52:10 +00:00
sk_SK.ISO8859-2.msg
sv_SE.ISO8859-1.msg
Symbol.map
uk_UA.UTF-8.msg - Strip trailing CRs 2009-11-08 11:55:03 +00:00
zh_CN.GB2312.msg Add derived versions for common Simplified Chinese encodings. 2012-12-28 01:23:12 +00:00
zh_CN.GB18030.msg Add derived versions for common Simplified Chinese encodings. 2012-12-28 01:23:12 +00:00
zh_CN.UTF-8.msg Add zh_CN.UTF-8 catalog. 2012-12-28 01:09:30 +00:00