fstream.tcc (basic_filebuf<>::open): Fix & ordering.
* include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering. * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same. (basic_ostream<>::operator<<(long long)): Same. From-SVN: r52198
This commit is contained in:
parent
3d9268b697
commit
b773723097
@ -1,3 +1,9 @@
|
||||
2002-04-11 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
|
||||
* include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
|
||||
(basic_ostream<>::operator<<(long long)): Same.
|
||||
|
||||
2002-04-11 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* config/linker-map.gnu: Add __gxx_personality_sj0.
|
||||
|
@ -165,7 +165,7 @@ namespace std
|
||||
|
||||
// For time being, set both (in/out) sets of pointers.
|
||||
_M_set_indeterminate();
|
||||
if (__mode & ios_base::ate
|
||||
if ((__mode & ios_base::ate)
|
||||
&& this->seekoff(0, ios_base::end, __mode) < 0)
|
||||
this->close();
|
||||
__ret = this;
|
||||
|
@ -185,7 +185,7 @@ namespace std
|
||||
if (_M_check_facet(_M_fnumput))
|
||||
{
|
||||
bool __b = false;
|
||||
if (__fmt & ios_base::oct || __fmt & ios_base::hex)
|
||||
if ((__fmt & ios_base::oct) || (__fmt & ios_base::hex))
|
||||
{
|
||||
unsigned long __l = static_cast<unsigned long>(__n);
|
||||
__b = _M_fnumput->put(*this, *this, __c, __l).failed();
|
||||
@ -248,7 +248,7 @@ namespace std
|
||||
if (_M_check_facet(_M_fnumput))
|
||||
{
|
||||
bool __b = false;
|
||||
if (__fmt & ios_base::oct || __fmt & ios_base::hex)
|
||||
if ((__fmt & ios_base::oct) || (__fmt & ios_base::hex))
|
||||
{
|
||||
unsigned long long __l;
|
||||
__l = static_cast<unsigned long long>(__n);
|
||||
|
Loading…
Reference in New Issue
Block a user