summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-02-09 18:39:17 +0000
committerache <ache@FreeBSD.org>2001-02-09 18:39:17 +0000
commit8060d7461b3cadecaf6d2174c8445671a611ac06 (patch)
tree0a63c0437864d4fca1763f0243a19a355b988e36 /lib/libc/locale
parentaf4d30125622a5368efed6aa030567a2b40ef253 (diff)
downloadFreeBSD-src-8060d7461b3cadecaf6d2174c8445671a611ac06.zip
FreeBSD-src-8060d7461b3cadecaf6d2174c8445671a611ac06.tar.gz
Back out attempt to implement CRNCYSTR - require additional prefixes according
to SUSV2. Add comment explaining it instead.
Diffstat (limited to 'lib/libc/locale')
-rw-r--r--lib/libc/locale/nl_langinfo.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/locale/nl_langinfo.c b/lib/libc/locale/nl_langinfo.c
index e6f3746..50dcd20 100644
--- a/lib/libc/locale/nl_langinfo.c
+++ b/lib/libc/locale/nl_langinfo.c
@@ -118,7 +118,10 @@ nl_langinfo(nl_item item) {
ret = "";
break;
case CRNCYSTR: /* deprecated */
- ret = (char*) __get_current_monetary_locale()->currency_symbol;
+ /* XXX: need to be implemented */
+ /* __get_current_monetary_locale()->currency_symbol */
+ /* but requare special +-. prefixes according to SUSV2 */
+ ret = "";
break;
default:
ret = "";
OpenPOWER on IntegriCloud