git: newlocale(3): Add compat support for c++ runtime libs.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Fri Dec 29 06:24:43 PST 2017


commit a0507d3de8b67921ce3900dfa057f589ec6140a9
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Fri Dec 29 15:51:32 2017 +0200

    newlocale(3): Add compat support for c++ runtime libs.
    
    Implement simple 'private' env support that mimics the internal
    __get_locale_env(). Not to be used in a context of C.
    
    While there, fix off by one in array index (_LC_LAST vs XLC_LAST).

Summary of changes:
 lib/libc/locale/setlocale.c | 62 +++++++++++++++++++++++++++++++++++++++++++++
 lib/libc/locale/xlocale.c   | 14 +++++++++-
 2 files changed, 75 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a0507d3de8b67921ce3900dfa057f589ec6140a9


-- 
DragonFly BSD source repository



More information about the Commits mailing list