OSDN Git Service

Adjust gcc/testsuite/ChangeLog
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / src / streambuf.cc
index 2e72559..5bcd0ea 100644 (file)
@@ -1,6 +1,7 @@
 // Stream buffer classes -*- C++ -*-
 
-// Copyright (C) 2004, 2005, 2006, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
+// Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -47,7 +48,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
          if (__n > 1)
            {
              const streamsize __wrote = __sbout->sputn(__sbin->gptr(), __n);
-             __sbin->gbump(__wrote);
+             __sbin->__safe_gbump(__wrote);
              __ret += __wrote;
              if (__wrote < __n)
                {
@@ -87,7 +88,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
          if (__n > 1)
            {
              const streamsize __wrote = __sbout->sputn(__sbin->gptr(), __n);
-             __sbin->gbump(__wrote);
+             __sbin->__safe_gbump(__wrote);
              __ret += __wrote;
              if (__wrote < __n)
                {