]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
locale_facets.tcc (num_get::do_get(void*&)): Set correctly just basefield, the only...
authorPaolo Carlini <pcarlini@suse.de>
Tue, 13 Jan 2004 18:53:57 +0000 (18:53 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 13 Jan 2004 18:53:57 +0000 (18:53 +0000)
2004-01-13  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (num_get::do_get(void*&)):
Set correctly just basefield, the only group that matters.

From-SVN: r75810

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.tcc

index 59702aad470454ea6464590eb9c01bbe65b76463..6df16eacad38dbb3deed59c67ebbdbc3937145aa 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-13  Paolo Carlini  <pcarlini@suse.de>
+
+       * include/bits/locale_facets.tcc (num_get::do_get(void*&)):
+       Set correctly just basefield, the only group that matters.
+
 2004-01-13  Paolo Carlini  <pcarlini@suse.de>
 
        * include/ext/rope (_Rope_rep_alloc_base): Eliminate.
index 879b9e3a8eb5adbe6d013e524f9f3a970de28382..d781503c3cf9a93ce3012e3f9d1c7091dea59191 100644 (file)
@@ -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);