[PATCH] Fix libstdc++/5708

Nathan Myers ncm-nospam@cantrip.org
Mon Feb 18 14:18:00 GMT 2002


2002-02-18  Paolo Carlini  <pcarlini@unitus.it>:
> 
>         libstdc++/5708
>         * include/bits/locale_facets.tcc (money_put::do_put):
>         For the space field use __fill instead of ' ', uniformly.
>         * testsuite/22_locale/money_put_members_char.cc:
>         Add test05 distilled from PR.
>         (test01-02-03): Trim some '*' to ' '.
>         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.

I don't agree that we have license to assume "space" may be replaced with 
__fill in the output format.   The subject has not (to my knowledge) been 
reported as a Defect to the committee.  This change strikes me as a source 
of interoperability problems, as sensible as it might seem otherwise.

What other implementation does it?

Nathan Myers
ncm at cantrip dot org



More information about the Libstdc++ mailing list