From: Paolo Carlini Date: Tue, 13 Jan 2004 18:53:57 +0000 (+0000) Subject: locale_facets.tcc (num_get::do_get(void*&)): Set correctly just basefield, the only... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8ef7deccb6f1b263de9820f3eefb7a9c3d03a5f;p=gcc.git locale_facets.tcc (num_get::do_get(void*&)): Set correctly just basefield, the only group that matters. 2004-01-13 Paolo Carlini * include/bits/locale_facets.tcc (num_get::do_get(void*&)): Set correctly just basefield, the only group that matters. From-SVN: r75810 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 59702aad470..6df16eacad3 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2004-01-13 Paolo Carlini + + * include/bits/locale_facets.tcc (num_get::do_get(void*&)): + Set correctly just basefield, the only group that matters. + 2004-01-13 Paolo Carlini * include/ext/rope (_Rope_rep_alloc_base): Eliminate. diff --git a/libstdc++-v3/include/bits/locale_facets.tcc b/libstdc++-v3/include/bits/locale_facets.tcc index 879b9e3a8eb..d781503c3cf 100644 --- a/libstdc++-v3/include/bits/locale_facets.tcc +++ b/libstdc++-v3/include/bits/locale_facets.tcc @@ -655,9 +655,7 @@ namespace std // Prepare for hex formatted input. typedef ios_base::fmtflags fmtflags; const fmtflags __fmt = __io.flags(); - const fmtflags __fmtmask = ~(ios_base::showpos | ios_base::basefield - | ios_base::uppercase | ios_base::internal); - __io.flags(__fmt & __fmtmask | (ios_base::hex | ios_base::showbase)); + __io.flags(__fmt & ~ios_base::basefield | ios_base::hex); unsigned long __ul; __beg = _M_extract_int(__beg, __end, __io, __err, __ul);