aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely.gcc@gmail.com>2010-10-13 22:52:25 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2010-10-13 23:52:25 +0100
commit405de314b88aec4ce832dc42d0ad237019ba66f7 (patch)
tree54b38530bbc2b3058bf7ca44c2c71c87ef220e50
parent8908df28a64f163b2215fccff7940e6e2b482615 (diff)
downloadgcc-405de314b88aec4ce832dc42d0ad237019ba66f7.zip
gcc-405de314b88aec4ce832dc42d0ad237019ba66f7.tar.gz
gcc-405de314b88aec4ce832dc42d0ad237019ba66f7.tar.bz2
re PR libstdc++/45990 (28_regex/07_traits/char/isctype.cc XPASSes on Solaris 2/IRIX 6)
PR libstdc++/45990 * include/bits/regex.h (regex_traits::isctype): DR 1337. From-SVN: r165438
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/include/bits/regex.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index eadf65b3..8c5da55 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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::
diff --git a/libstdc++-v3/include/bits/regex.h b/libstdc++-v3/include/bits/regex.h
index bbec88c..64d4407 100644
--- a/libstdc++-v3/include/bits/regex.h
+++ b/libstdc++-v3/include/bits/regex.h
@@ -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:]]