aboutsummaryrefslogtreecommitdiff
path: root/include/istream
diff options
context:
space:
mode:
authorDavid Chisnall <theraven@FreeBSD.org>2013-02-07 13:09:19 +0000
committerDavid Chisnall <theraven@FreeBSD.org>2013-02-07 13:09:19 +0000
commitc7f918d0681828afdbddfdcc354b6f3dfc2a7b68 (patch)
treed1f057460d329356b56f67bf5740b7393c925844 /include/istream
parentfbd326037ffe8b31f74ce56deb05b6432b26665c (diff)
downloadsrc-c7f918d0681828afdbddfdcc354b6f3dfc2a7b68.tar.gz
src-c7f918d0681828afdbddfdcc354b6f3dfc2a7b68.zip
Import new libc++ to vendor branch.vendor/libc++/r174563
Notes
Notes: svn path=/vendor/libc++/dist/; revision=246468 svn path=/vendor/libc++/r174563/; revision=246469; tag=vendor/libc++/r174563
Diffstat (limited to 'include/istream')
-rw-r--r--include/istream1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/istream b/include/istream
index dc1c52be639a..3979e1407061 100644
--- a/include/istream
+++ b/include/istream
@@ -1243,6 +1243,7 @@ template<class _CharT, class _Traits>
streamsize
basic_istream<_CharT, _Traits>::readsome(char_type* __s, streamsize __n)
{
+ __gc_ = 0;
streamsize __c = this->rdbuf()->in_avail();
switch (__c)
{