ctype_noninline.h (classic_table): Return __ctype + 1.

* config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
	Return __ctype + 1.
	(ctype:_M_table): Initialize to classic_table(), not __ctype.

From-SVN: r53093
This commit is contained in:
Kaveh R. Ghazi 2002-05-03 13:56:52 +00:00 committed by Kaveh Ghazi
parent 3d1ad9e5ae
commit b70d6d4b66
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
Return __ctype + 1.
(ctype:_M_table): Initialize to classic_table(), not __ctype.
2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* configure.in: Update local install.html, configopts.html paths.

View File

@ -36,19 +36,19 @@
const ctype_base::mask*
ctype<char>::classic_table() throw()
{ return 0; }
{ return __ctype + 1; }
ctype<char>::ctype(__c_locale, const mask* __table, bool __del,
size_t __refs)
: __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del),
_M_toupper(NULL), _M_tolower(NULL),
_M_table(!__table ? __ctype : __table)
_M_table(!__table ? classic_table() : __table)
{ }
ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
: __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del),
_M_toupper(NULL), _M_tolower(NULL),
_M_table(!__table ? __ctype : __table)
_M_table(!__table ? classic_table() : __table)
{ }
char