Print this page
4964 nl_langinfo(CRNCYSTR) returns wrong alignment character
4999 libc test suite enhancements
4939 desire wcsnrtombs() function
Reviewed by: Jason King <jason.brian.king@gmail.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Approved by: TBD
*** 154,167 ****
if ((lmon->p_cs_precedes[0] == lmon->n_cs_precedes[0]) &&
(lmon->currency_symbol[0] != '\0')) {
char sign = '\0';
switch (lmon->p_cs_precedes[0]) {
case 0:
! sign = '-';
break;
case 1:
! sign = '+';
break;
case CHAR_MAX:
/*
* Substitute currency string for radix character.
* To the best of my knowledge, no locale uses this.
--- 154,167 ----
if ((lmon->p_cs_precedes[0] == lmon->n_cs_precedes[0]) &&
(lmon->currency_symbol[0] != '\0')) {
char sign = '\0';
switch (lmon->p_cs_precedes[0]) {
case 0:
! sign = '+';
break;
case 1:
! sign = '-';
break;
case CHAR_MAX:
/*
* Substitute currency string for radix character.
* To the best of my knowledge, no locale uses this.