[v3] iterator fixups, ctype<char>::classic_table fixups
Andreas Tobler
toa@pop.agri.ch
Thu Jan 17 02:32:00 GMT 2002
Benjamin Kosnik wrote:
>
> > It should be
> > _M_table(__table ? __table : _S_ctable)
> >
> > correct?
>
> Yes, please check it in.
I don't have write access. Sorry.
Here the diff:
-------
--- config/os/solaris/solaris2.6/bits/ctype_noninline.h.orig Thu Jan
17 09:09:35 2002
+++ config/os/solaris/solaris2.6/bits/ctype_noninline.h Thu Jan 17
10:13:01 2002
@@ -40,13 +40,13 @@
size_t __refs)
: __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del),
_M_toupper(__trans_upper), _M_tolower(__trans_lower),
- _M_ctable(__ctype_mask), _M_table(__table ? __table : _M_ctable)
+ _M_table(__table ? __table : _S_ctable)
{ }
ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
: __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del),
_M_toupper(__trans_upper), _M_tolower(__trans_lower),
- _M_ctable(__ctype_mask), _M_table(__table ? __table : _M_ctable)
+ _M_table(__table ? __table : _S_ctable)
{ }
char
-------
Andreas
More information about the Gcc-patches
mailing list