Skip to content
Snippets Groups Projects
Commit c93af6f2 authored by Paolo Carlini's avatar Paolo Carlini Committed by Paolo Carlini
Browse files

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
parent cd1a8088
No related branches found
No related tags found
No related merge requests found
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> 2004-09-17 Paolo Carlini <pcarlini@suse.de>
* testsuite/ext/mt_allocator/tune-1.cc: Use VERIFY, clean * testsuite/ext/mt_allocator/tune-1.cc: Use VERIFY, clean
......
...@@ -527,7 +527,7 @@ namespace std ...@@ -527,7 +527,7 @@ namespace std
{ {
if (__avail == 1) if (__avail == 1)
*__s = *this->gptr(); *__s = *this->gptr();
else if (__avail > 1) else
traits_type::copy(__s, this->gptr(), __avail); traits_type::copy(__s, this->gptr(), __avail);
__s += __avail; __s += __avail;
this->gbump(__avail); this->gbump(__avail);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment