2003-11-26 Paolo Carlini <pcarlini@suse.de>
* 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. From-SVN: r73948
This commit is contained in:
parent
a7c084ac63
commit
7fb1d71193
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2003-11-26 Paolo Carlini <pcarlini@suse.de>
|
||||||
|
|
||||||
|
* 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 <pcarlini@suse.de>
|
2003-11-25 Paolo Carlini <pcarlini@suse.de>
|
||||||
|
|
||||||
* config/locale/gnu/codecvt_members.cc (codecvt::do_length):
|
* config/locale/gnu/codecvt_members.cc (codecvt::do_length):
|
||||||
|
|
|
@ -648,8 +648,6 @@ namespace std
|
||||||
__numpunct_cache<_CharT>::_M_cache(const locale& __loc)
|
__numpunct_cache<_CharT>::_M_cache(const locale& __loc)
|
||||||
{
|
{
|
||||||
_M_allocated = true;
|
_M_allocated = true;
|
||||||
_M_grouping = NULL;
|
|
||||||
_M_truename = _M_falsename = NULL;
|
|
||||||
|
|
||||||
const numpunct<_CharT>& __np = use_facet<numpunct<_CharT> >(__loc);
|
const numpunct<_CharT>& __np = use_facet<numpunct<_CharT> >(__loc);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue