Skip to content
Snippets Groups Projects
Commit 46bbeb65 authored by Ben Elliston's avatar Ben Elliston
Browse files

Revert revision 120457.

From-SVN: r120458
parent 93c5d31c
No related branches found
No related tags found
No related merge requests found
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> 2006-12-29 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/30226 PR libstdc++/30226
......
...@@ -235,7 +235,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -235,7 +235,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
if ((mode & (ios_base::in | ios_base::out)) if ((mode & (ios_base::in | ios_base::out))
== (ios_base::in | ios_base::out) && == (ios_base::in | ios_base::out) &&
(dir == ios_base::beg || dir == ios_base::end)) (dir == ios_base::beg || dir == ios_base::end))
do_get = (do_put = true); do_get = do_put = true;
else if (mode & ios_base::in) else if (mode & ios_base::in)
do_get = true; do_get = true;
else if (mode & ios_base::out) else if (mode & ios_base::out)
......
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