re PR libstdc++/45990 (28_regex/07_traits/char/isctype.cc XPASSes on Solaris 2/IRIX 6)
authorJonathan Wakely <jwakely.gcc@gmail.com>
Wed, 13 Oct 2010 22:52:25 +0000 (22:52 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 13 Oct 2010 22:52:25 +0000 (23:52 +0100)
PR libstdc++/45990
* include/bits/regex.h (regex_traits::isctype): DR 1337.

From-SVN: r165438

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex.h

index eadf65b..8c5da55 100644 (file)
@@ -1,3 +1,8 @@
+2010-10-13  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/45990
+       * include/bits/regex.h (regex_traits::isctype): DR 1337.
+
 2010-10-13  Paolo Carlini  <paolo.carlini@oracle.com>
 
        * include/bits/random.h (discrete_distribution<>::param_type::
index bbec88c..64d4407 100644 (file)
@@ -287,7 +287,7 @@ namespace std
       const ctype<_Ch_type>& __ctype(use_facet<
                                     ctype<_Ch_type> >(_M_locale));
       
-      if (__ctype.is(__c, __f))
+      if (__ctype.is(__f, __c))
        return true;
       
       // special case of underscore in [[:w:]]