Commit 4716be24 by Benjamin Kosnik Committed by Benjamin Kosnik

ctype_base.h (ctype_base): Change space mask.


2000-12-07  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

	* config/os/generic/bits/ctype_base.h (ctype_base): Change space mask.

	* config/os/generic/bits/ctype_noninline.h (ctype): Remove default
	arguments in definition.
	* config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
	* config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
	* config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
	* config/os/newlib/bits/ctype_noninline.h (ctype): Same.
	* config/os/irix/bits/ctype_noninline.h (ctype): Same.
	* config/os/hpux/bits/ctype_noninline.h (ctype): Same.
	* config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
	* config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
	* config/os/aix/bits/ctype_noninline.h (ctype): Same.

	* include/bits/locale_facets.h: Tweak.

From-SVN: r38115
parent f846e0de
2000-12-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* config/os/generic/bits/ctype_base.h (ctype_base): Change space mask.
* config/os/generic/bits/ctype_noninline.h (ctype): Remove default
arguments in definition.
* config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
* config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
* config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
* config/os/newlib/bits/ctype_noninline.h (ctype): Same.
* config/os/irix/bits/ctype_noninline.h (ctype): Same.
* config/os/hpux/bits/ctype_noninline.h (ctype): Same.
* config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
* config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
* config/os/aix/bits/ctype_noninline.h (ctype): Same.
* include/bits/locale_facets.h: Tweak.
2000-12-06 Benjamin Kosnik <bkoz@kredhat.com> 2000-12-06 Benjamin Kosnik <bkoz@kredhat.com>
* include/bits/locale_facets.h (ctype): Remove _Ctype_nois and * include/bits/locale_facets.h (ctype): Remove _Ctype_nois and
......
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
// Information as gleaned from /usr/include/ctype.h // Information as gleaned from /usr/include/ctype.h
ctype<char>::ctype(const mask* __table = 0, bool __del = false, ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
size_t __refs = 0)
: __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del), : __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del),
_M_toupper(NULL), _M_tolower(NULL), _M_toupper(NULL), _M_tolower(NULL),
_M_ctable(NULL), _M_table(__table == 0 ? _M_ctable: __table) _M_ctable(NULL), _M_table(__table == 0 ? _M_ctable: __table)
......
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
// Information as gleaned from /usr/include/ctype.h // Information as gleaned from /usr/include/ctype.h
ctype<char>::ctype(const mask* __table = 0, bool __del = false, ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
size_t __refs = 0)
: __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del), : __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del),
_M_toupper(NULL), _M_tolower(NULL), _M_toupper(NULL), _M_tolower(NULL),
_M_ctable(NULL), _M_table(__table == 0 ? _M_ctable: __table) _M_ctable(NULL), _M_table(__table == 0 ? _M_ctable: __table)
......
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
// Information as gleaned from /usr/include/ctype.h // Information as gleaned from /usr/include/ctype.h
ctype<char>::ctype(const mask* __table = 0, bool __del = false, ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
size_t __refs = 0)
: __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del), : __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del),
_M_toupper(NULL), _M_tolower(NULL), _M_toupper(NULL), _M_tolower(NULL),
_M_ctable(NULL), _M_table(__table == 0 ? (_ctype_ + 1) : __table) _M_ctable(NULL), _M_table(__table == 0 ? (_ctype_ + 1) : __table)
......
...@@ -41,17 +41,17 @@ ...@@ -41,17 +41,17 @@
enum enum
{ {
space = (1 << 5), // Whitespace space = (1 << 0), // Whitespace
print = (1 << 6), // Printing print = (1 << 1), // Printing
cntrl = (1 << 9), // Control character cntrl = (1 << 2), // Control character
upper = (1 << 0), // UPPERCASE upper = (1 << 3), // UPPERCASE
lower = (1 << 1), // lowercase lower = (1 << 4), // lowercase
alpha = (1 << 5), // Alphabetic alpha = (1 << 5), // Alphabetic
digit = (1 << 2), // Numeric digit = (1 << 6), // Numeric
punct = (1 << 10),// Punctuation punct = (1 << 7), // Punctuation
xdigit = (1 << 4),// Hexadecimal numeric xdigit = (1 << 8), // Hexadecimal numeric
alnum = (1 << 11),// Alphanumeric alnum = (1 << 9), // Alphanumeric
graph = (1 << 7) // Graphical graph = (1 << 10) // Graphical
}; };
}; };
......
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
// Information as gleaned from /usr/include/ctype.h // Information as gleaned from /usr/include/ctype.h
ctype<char>::ctype(const mask* __table = 0, bool __del = false, ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
size_t __refs = 0)
: __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del), : __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del),
_M_toupper(NULL), _M_tolower(NULL), _M_toupper(NULL), _M_tolower(NULL),
_M_ctable(NULL), _M_table(__table == 0 ? _M_ctable: __table) _M_ctable(NULL), _M_table(__table == 0 ? _M_ctable: __table)
......
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
// Information as gleaned from /usr/include/ctype.h // Information as gleaned from /usr/include/ctype.h
ctype<char>::ctype(const mask* __table = 0, bool __del = false, ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
size_t __refs = 0)
: __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del), : __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del),
_M_toupper(NULL), _M_tolower(NULL), _M_toupper(NULL), _M_tolower(NULL),
_M_ctable(NULL), _M_table(__table == 0 ? _M_ctable: __table) _M_ctable(NULL), _M_table(__table == 0 ? _M_ctable: __table)
......
...@@ -33,13 +33,11 @@ ...@@ -33,13 +33,11 @@
// Information as gleaned from /usr/include/ctype.h // Information as gleaned from /usr/include/ctype.h
ctype<char>::ctype(const mask* __table = 0, bool __del = false, ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
size_t __refs = 0)
: __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del), : __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del),
_M_toupper(NULL), _M_tolower(NULL), _M_ctable(NULL), _M_toupper(NULL), _M_tolower(NULL), _M_ctable(NULL),
_M_table(!__table _M_table(!__table ?
? (const mask*) (__libc_attr._ctype_tbl->_class + 1) (const mask*) (__libc_attr._ctype_tbl->_class + 1) : __table)
: __table)
{ } { }
char char
......
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
// Information as gleaned from /usr/include/ctype.h // Information as gleaned from /usr/include/ctype.h
ctype<char>::ctype(const mask* __table = 0, bool __del = false, ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
size_t __refs = 0)
: __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del), : __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del),
_M_toupper(NULL), _M_tolower(NULL), _M_toupper(NULL), _M_tolower(NULL),
_M_ctable(_ctype_), _M_table(__table == 0 ? _M_ctable: __table) _M_ctable(_ctype_), _M_table(__table == 0 ? _M_ctable: __table)
......
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
// Information as gleaned from /usr/include/ctype.h // Information as gleaned from /usr/include/ctype.h
ctype<char>::ctype(const mask* __table = 0, bool __del = false, ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
size_t __refs = 0)
: __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del), : __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del),
_M_toupper(NULL), _M_tolower(NULL), _M_toupper(NULL), _M_tolower(NULL),
_M_ctable(__ctype), _M_table(__table == 0 ? _M_ctable: __table) _M_ctable(__ctype), _M_table(__table == 0 ? _M_ctable: __table)
......
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
// Information as gleaned from /usr/include/ctype.h // Information as gleaned from /usr/include/ctype.h
ctype<char>::ctype(const mask* __table = 0, bool __del = false, ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
size_t __refs = 0)
: __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del), : __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del),
_M_toupper(__trans_upper), _M_tolower(__trans_lower), _M_toupper(__trans_upper), _M_tolower(__trans_lower),
_M_ctable(__ctype_mask), _M_table(__table == 0 ? _M_ctable: __table) _M_ctable(__ctype_mask), _M_table(__table == 0 ? _M_ctable: __table)
......
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
// Information as gleaned from /usr/include/ctype.h // Information as gleaned from /usr/include/ctype.h
ctype<char>::ctype(const mask* __table = 0, bool __del = false, ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
size_t __refs = 0)
: __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del), : __ctype_abstract_base<char>(__refs), _M_del(__table != 0 && __del),
_M_toupper(__trans_upper), _M_tolower(__trans_lower), _M_toupper(__trans_upper), _M_tolower(__trans_lower),
_M_ctable(__ctype_mask), _M_table(__table == 0 ? _M_ctable: __table) _M_ctable(__ctype_mask), _M_table(__table == 0 ? _M_ctable: __table)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment