re PR libstdc++/6511 (new libstdc++ v3 testsuite regressions on *-*-solaris2.8)
authorBenjamin Kosnik <bkoz@redhat.com>
Tue, 30 Apr 2002 09:15:48 +0000 (09:15 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Tue, 30 Apr 2002 09:15:48 +0000 (09:15 +0000)
2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/6511
* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.

From-SVN: r52937

libstdc++-v3/ChangeLog
libstdc++-v3/config/os/solaris/solaris2.7/bits/ctype_noninline.h

index cccb6ba1a5655699fcdc1da21111e2b00fe6b7d1..0b12903d26c9e8dd19395f54bc4c6bfcaf482648 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
+
+       PR libstdc++/6511
+       * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
+
 2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>
 
        PR libstdc++/5820
index 61462a909453e8dad17b0aef4c50eeb1347e38c0..c8b11a9bd6b12ab41417ad28c46c058a8e16ba81 100644 (file)
@@ -48,7 +48,7 @@
   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_table(__table == 0 ? __table : classic_table()) 
+  _M_table(__table ? __table : classic_table()) 
   { }
 
   char