components/stdcxx/patches/091-7098498-moneypunct.h.patch
author Leibo Wang <Leibo.Wang@Sun.COM>
Wed, 11 Dec 2013 18:51:23 -0800
changeset 1594 7302abf31ae0
parent 539 9db7f022d292
permissions -rw-r--r--
17347731 iftop core dumps when using more than one -f option 17363623 iftop should support 64-bit building for Solaris
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
539
9db7f022d292 7088065 CCVS test fail: no exception thrown for out-of-range string access
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     1
# Patch for CR 7098498
9db7f022d292 7088065 CCVS test fail: no exception thrown for out-of-range string access
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     2
--- stdcxx-4.2.1/include/loc/_moneypunct.h	2011-07-10 11:57:53.407297720 -0700
9db7f022d292 7088065 CCVS test fail: no exception thrown for out-of-range string access
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     3
+++ stdcxx-4.2.1/include/loc/_moneypunct.h	2011-10-06 09:50:48.591327947 -0700
9db7f022d292 7088065 CCVS test fail: no exception thrown for out-of-range string access
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     4
@@ -67,7 +67,7 @@
9db7f022d292 7088065 CCVS test fail: no exception thrown for out-of-range string access
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     5
     typedef
9db7f022d292 7088065 CCVS test fail: no exception thrown for out-of-range string access
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     6
     basic_string<char_type, char_traits<char_type>, allocator<char_type> >
9db7f022d292 7088065 CCVS test fail: no exception thrown for out-of-range string access
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     7
     string_type;
9db7f022d292 7088065 CCVS test fail: no exception thrown for out-of-range string access
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     8
-    typedef moneypunct<_CharT, bool> _Type;
9db7f022d292 7088065 CCVS test fail: no exception thrown for out-of-range string access
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     9
+    typedef moneypunct<_CharT, _Intl> _Type;
9db7f022d292 7088065 CCVS test fail: no exception thrown for out-of-range string access
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    10
 
9db7f022d292 7088065 CCVS test fail: no exception thrown for out-of-range string access
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    11
     _EXPLICIT moneypunct (_RWSTD_SIZE_T __refs = 0)
9db7f022d292 7088065 CCVS test fail: no exception thrown for out-of-range string access
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    12
         : _RW::__rw_facet (__refs),