This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3] iterator fixups, ctype<char>::classic_table fixups
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 17 Jan 2002 10:10:09 +0100
- Subject: Re: [v3] iterator fixups, ctype<char>::classic_table fixups
- Organization: zero
- References: <200201170355.g0H3tsY16570@waller.constant.com>
Benjamin Kosnik wrote:
>
> 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
>
> * include/bits/locale_facets.h (ctype<char>::classic_table): Make
> static.
> (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
[snip]
> * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
> Index: config/os/solaris/solaris2.6/bits/ctype_noninline.h
> ===================================================================
> RCS file: /cvs/gcc/gcc/libstdc++-v3/config/os/solaris/solaris2.6/bits/ctype_noninline.h,v
[snip]
> _M_toupper(__trans_upper), _M_tolower(__trans_lower),
> ! _M_ctable(__ctype_mask), _M_table(__table ? __table : _M_ctable) <-------
> { }
[snip]
> _M_toupper(__trans_upper), _M_tolower(__trans_lower),
> ! _M_ctable(__ctype_mask), _M_table(__table ? __table : _M_ctable) <-------
> { }
I think this one was not tested on solaris2.6 ;-)
It should be
_M_table(__table ? __table : _S_ctable)
correct?
Thanks,
Andreas