This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[v3] ctype + netbsd fixes
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 22 Jan 2002 08:08:49 -0800
- Subject: [v3] ctype + netbsd fixes
Fix typos
2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
* config/os/aix/bits/ctype_noninline.h: Fix formatting.
* config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
* config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
Index: config/os/aix/bits/ctype_noninline.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/config/os/aix/bits/ctype_noninline.h,v
retrieving revision 1.8
diff -c -p -r1.8 ctype_noninline.h
*** ctype_noninline.h 2002/01/21 04:08:46 1.8
--- ctype_noninline.h 2002/01/22 16:07:28
***************
*** 40,51 ****
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 ? __table : classic_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 ? __table : classic_table())
{ }
char
--- 40,53 ----
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 ? __table : classic_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 ? __table : classic_table())
{ }
char
Index: config/os/bsd/freebsd/bits/ctype_noninline.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/config/os/bsd/freebsd/bits/ctype_noninline.h,v
retrieving revision 1.6
diff -c -p -r1.6 ctype_noninline.h
*** ctype_noninline.h 2002/01/21 04:08:47 1.6
--- ctype_noninline.h 2002/01/22 16:07:29
***************
*** 40,51 ****
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 ? __table : classic_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 ? __table : classic_table())
{ }
char
--- 40,53 ----
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 ? __table : classic_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 ? __table : classic_table())
{ }
char
Index: config/os/bsd/netbsd/bits/ctype_noninline.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/config/os/bsd/netbsd/bits/ctype_noninline.h,v
retrieving revision 1.6
diff -c -p -r1.6 ctype_noninline.h
*** ctype_noninline.h 2002/01/21 04:08:47 1.6
--- ctype_noninline.h 2002/01/22 16:07:29
***************
*** 45,51 ****
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_toupper(NULL), _M_tolower(NULL), _M_table(__table ? __table : _ctype_ + 1)
{ }
--- 45,50 ----