]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* include/bits/locale_conv.h (__do_str_codecvt): Set __count.
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Jun 2015 18:23:41 +0000 (18:23 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Jun 2015 18:23:41 +0000 (18:23 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224985 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 47777ac7c498f08a0b491191f0fd7f10a9994401..7b7e2b9c1f55f886998fb890376f3e136810373d 100644 (file)
@@ -1,3 +1,7 @@
+2015-06-25  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/locale_conv.h (__do_str_codecvt): Set __count.
+
 2015-06-24  François Dumont  <fdumont@gcc.gnu.org>
 
        * include/bits/basic_string.h (basic_string<>::front()): Add !empty
index fd99499b8f6bc5755f26820e08338ef2bf5fe86c..146f78b38d0704041eb519d63e0a7bde52d162ed 100644 (file)
@@ -61,6 +61,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
       if (__first == __last)
        {
          __outstr.clear();
+         __count = 0;
          return true;
        }