git: newlocale(3): Add support for native complex locale.
Rimvydas Jasinskas
zrj at crater.dragonflybsd.org
Sat Dec 30 12:28:13 PST 2017
commit 2c92c36023c84b792f84e6963178f9077d09add6
Author: zrj <rimvydas.jasinskas at gmail.com>
Date: Sat Dec 30 20:32:25 2017 +0200
newlocale(3): Add support for native complex locale.
Now newlocale(LC_ALL_MASK, setlocale(LC_ALL, NULL), NULL) should work
as intended even with combinations like LC_CTYPE=lv_LT LC_TIME=lt_LT.
While there, add compat support in setlocale(3) and fix a wrong git am
in previous newlocale(3) commit.
Summary of changes:
lib/libc/locale/setlocale.c | 31 ++++++++++++++++++-------------
lib/libc/locale/xlocale.c | 38 +++++++++++++++++++++++++++++++++++---
2 files changed, 53 insertions(+), 16 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2c92c36023c84b792f84e6963178f9077d09add6
--
DragonFly BSD source repository
More information about the Commits
mailing list