On Dec 20, 2012, at 11:34 AM, David Blaikie <[email protected]> wrote:

> On Thu, Dec 20, 2012 at 7:40 AM, Howard Hinnant <[email protected]> wrote:
>> Author: hhinnant
>> Date: Thu Dec 20 09:40:28 2012
>> New Revision: 170703
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=170703&view=rev
>> Log:
>> Hyeon-Bin Jeong:  readsome() need to reset gcount to zero.  This fixes 
>> http://llvm.org/bugs/show_bug.cgi?id=14670.
>> 
>> Modified:
>>    libcxx/trunk/include/istream
> 
> Test case?

Thanks. Committed revision 170706.

Howard

> 
>> 
>> Modified: libcxx/trunk/include/istream
>> URL: 
>> http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/istream?rev=170703&r1=170702&r2=170703&view=diff
>> ==============================================================================
>> --- libcxx/trunk/include/istream (original)
>> +++ libcxx/trunk/include/istream Thu Dec 20 09:40:28 2012
>> @@ -1243,6 +1243,7 @@
>> streamsize
>> basic_istream<_CharT, _Traits>::readsome(char_type* __s, streamsize __n)
>> {
>> +    __gc_ = 0;
>>     streamsize __c = this->rdbuf()->in_avail();
>>     switch (__c)
>>     {
>> 
>> 
>> _______________________________________________
>> cfe-commits mailing list
>> [email protected]
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to