diff options
Diffstat (limited to 'usr/src/lib')
-rw-r--r-- | usr/src/lib/libc/port/llib-lc | 2 | ||||
-rw-r--r-- | usr/src/lib/libc/port/locale/lmonetary.c | 4 | ||||
-rw-r--r-- | usr/src/lib/libc/port/mapfile-vers | 6 |
3 files changed, 10 insertions, 2 deletions
diff --git a/usr/src/lib/libc/port/llib-lc b/usr/src/lib/libc/port/llib-lc index eb2fb4357b..9f493e21d4 100644 --- a/usr/src/lib/libc/port/llib-lc +++ b/usr/src/lib/libc/port/llib-lc @@ -24,6 +24,7 @@ * Copyright 2011 Nexenta Systems, Inc. All rights reserved. * Copyright 2013 OmniTI Computer Consulting, Inc. All rights reserved. * Copyright (c) 2013 Gary Mills + * Copyright 2014 Garrett D'Amore <garrett@damore.org> */ /* LINTLIBRARY */ @@ -165,6 +166,7 @@ #if defined(__amd64) #include <stack_unwind.h> #endif +#include <xlocale.h> /* * This really comes from the crt*.s startup modules. diff --git a/usr/src/lib/libc/port/locale/lmonetary.c b/usr/src/lib/libc/port/locale/lmonetary.c index 623abc6281..373583171b 100644 --- a/usr/src/lib/libc/port/locale/lmonetary.c +++ b/usr/src/lib/libc/port/locale/lmonetary.c @@ -156,10 +156,10 @@ __lc_monetary_load(const char *name) char sign = '\0'; switch (lmon->p_cs_precedes[0]) { case 0: - sign = '-'; + sign = '+'; break; case 1: - sign = '+'; + sign = '-'; break; case CHAR_MAX: /* diff --git a/usr/src/lib/libc/port/mapfile-vers b/usr/src/lib/libc/port/mapfile-vers index c07a40aaf5..6509cd1aad 100644 --- a/usr/src/lib/libc/port/mapfile-vers +++ b/usr/src/lib/libc/port/mapfile-vers @@ -93,6 +93,12 @@ $if _x86 && _ELF64 $add amd64 $endif +SYMBOL_VERSION ILLUMOS_0.9 { + protected: + wcsnrtombs; + wcsnrtombs_l; +} ILLUMOS_0.8; + SYMBOL_VERSION ILLUMOS_0.8 { # POSIX 2008 newlocale and friends protected: __global_locale; |