* include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Apr 2002 05:42:23 +0000 (05:42 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Apr 2002 05:42:23 +0000 (05:42 +0000)
* include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
(basic_ostream<>::operator<<(long long)): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52198 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/fstream.tcc
libstdc++-v3/include/bits/ostream.tcc

index 05c3984..6533d39 100644 (file)
@@ -1,5 +1,11 @@
 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.
 
 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
index 92a0730..8514323 100644 (file)
@@ -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;
index 5c4799b..d15b9f2 100644 (file)
@@ -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);