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: r53628
This commit is contained in:
Kaveh R. Ghazi 2002-05-19 15:16:30 +00:00 committed by Kaveh Ghazi
parent 70bb012bdb
commit 2271b1d49e
2 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,9 @@
2002-05-19 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.
* config/os/irix/irix5.2/bits/os_defines.h
(__glibcpp_long_double_bits, __glibcpp_long_bits): Define.

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