This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] iterator fixups, ctype<char>::classic_table fixups




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]