From 46bbeb652ca2d8b8c17f63b5e27d88eb66756085 Mon Sep 17 00:00:00 2001
From: Ben Elliston <bje@gcc.gnu.org>
Date: Fri, 5 Jan 2007 11:03:35 +1100
Subject: [PATCH] Revert revision 120457.

From-SVN: r120458
---
 libstdc++-v3/ChangeLog        | 5 -----
 libstdc++-v3/src/strstream.cc | 2 +-
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index d8bc1126d680..d1a799555531 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,8 +1,3 @@
-2007-01-05  Ben Elliston  <bje@au.ibm.com>
-
-	* src/strstream.cc (strstreambuf::seekoff): Add parentheses around
-	truth expression to eliminate a new warning from g++.
-
 2006-12-29  Paolo Carlini  <pcarlini@suse.de>
 
 	PR libstdc++/30226
diff --git a/libstdc++-v3/src/strstream.cc b/libstdc++-v3/src/strstream.cc
index 3c5d8be839e9..f2214549ab7c 100644
--- a/libstdc++-v3/src/strstream.cc
+++ b/libstdc++-v3/src/strstream.cc
@@ -235,7 +235,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
     if ((mode & (ios_base::in | ios_base::out)) 
 	== (ios_base::in | ios_base::out) &&
 	(dir == ios_base::beg || dir == ios_base::end))
-      do_get = (do_put = true);
+      do_get = do_put = true;
     else if (mode & ios_base::in)
       do_get = true;
     else if (mode & ios_base::out)
-- 
GitLab