This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi,
I discovered this bug while analyzing libstdc++/7989 (not a bug).
Currently, we seg fault on the testcases below, since, when
printing a grouped oct or hex zero even if showbase is true the
usual 0, 0x or 0X prefixes do not appear.
The patch was regression tested on x86-linux. In case, ok for
3.2.1 too, or not?
Ciao, Paolo.
/////////////
2002-09-27 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (num_put::_M_widen_int):
Deal correctly with grouped, showbased (oct or hex) zero.
* testsuite/22_locale/num_put_members_char.cc: Add test05.
* testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.
Attachment:
patch_gzoh
Description: application/java-vm
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |