mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-26 01:24:36 +08:00
fstream.tcc (xsgetn): Slightly tweak conditional, as per Nathan's original suggestion.
2004-09-17 Paolo Carlini <pcarlini@suse.de> * include/bits/fstream.tcc (xsgetn): Slightly tweak conditional, as per Nathan's original suggestion. From-SVN: r87647
This commit is contained in:
parent
cd1a8088eb
commit
c93af6f23d
@ -1,3 +1,8 @@
|
||||
2004-09-17 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* include/bits/fstream.tcc (xsgetn): Slightly tweak conditional,
|
||||
as per Nathan's original suggestion.
|
||||
|
||||
2004-09-17 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* testsuite/ext/mt_allocator/tune-1.cc: Use VERIFY, clean
|
||||
|
@ -527,7 +527,7 @@ namespace std
|
||||
{
|
||||
if (__avail == 1)
|
||||
*__s = *this->gptr();
|
||||
else if (__avail > 1)
|
||||
else
|
||||
traits_type::copy(__s, this->gptr(), __avail);
|
||||
__s += __avail;
|
||||
this->gbump(__avail);
|
||||
|
Loading…
Reference in New Issue
Block a user