2008-12-05 Paolo Carlini <paolo.carlini@oracle.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Dec 2008 18:23:39 +0000 (18:23 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Dec 2008 18:23:39 +0000 (18:23 +0000)
commit299bbd0d2f006d39b387dc6887e64331248372cb
tree0e60e96ae364a94b0ae3e40ab4d61a9023b3b565
parente7dac3cb677448f7a7e3acea3b73846b7f0fe7eb
2008-12-05  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/38399
* include/bits/locale_facets_nonio.tcc (money_get<>::
_M_extract(iter_type, iter_type, ios_base&, ios_base::iostate&,
string&)): Fix, reject decimal point when frac_digits <= 0.
* testsuite/22_locale/money_get/get/char/38399.cc: New.
* testsuite/22_locale/money_get/get/wchar_t/38399.cc: Likewise.
* testsuite/22_locale/money_get/get/char/5.cc: Adjust.
* testsuite/22_locale/money_get/get/wchar_t/5.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142487 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets_nonio.tcc
libstdc++-v3/testsuite/22_locale/money_get/get/char/38399.cc [new file with mode: 0644]
libstdc++-v3/testsuite/22_locale/money_get/get/char/5.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/38399.cc [new file with mode: 0644]
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/5.cc