diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 72fd837893c..9e502e7b04d 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2003-11-26 Paolo Carlini + + * include/bits/locale_facets.h + (__numpunct_cache<>::_M_cache): Avoid zeroing _M_grouping, + _M_truename and _M_falsename: the constructor always does + it immediately before the _M_cache call. + 2003-11-25 Paolo Carlini * config/locale/gnu/codecvt_members.cc (codecvt::do_length): diff --git a/libstdc++-v3/include/bits/locale_facets.h b/libstdc++-v3/include/bits/locale_facets.h index e6ad5ebc26a..a29538ac228 100644 --- a/libstdc++-v3/include/bits/locale_facets.h +++ b/libstdc++-v3/include/bits/locale_facets.h @@ -648,8 +648,6 @@ namespace std __numpunct_cache<_CharT>::_M_cache(const locale& __loc) { _M_allocated = true; - _M_grouping = NULL; - _M_truename = _M_falsename = NULL; const numpunct<_CharT>& __np = use_facet >(__loc);