[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

/tset/ANSI.os/locale/setlocale/T.setlocale



http://www.freestandards.org/lsb/test/results/index.php?testcaseid=1684 

I think this is a test suite bug.  The currency symbol for the POSIX
locale is "".  nl_langinfo(CRNCYSTR) returns (per POSIX.1-2001):

       CRNCYSTR (LC_MONETARY)
              Return  the currency symbol, preceded by "-" if the
              symbol should appear before the value, "+"  if  the
              symbol should appear after the value, or "." if the
              symbol should replace the radix character.

Thus the result under latest glibc is '-'.

Does anyone know of any standard clarification that says that if there
is no currency symbol that the prefix should not be added if there is
no currency symbol?

Cheers,

Matt
 



Reply to: