Commit d027507e by Ulrich Drepper

(endl): Fix bug in last change.

(ends): Make same change as for endl.

From-SVN: r34128
parent 3c56b105
......@@ -957,13 +957,14 @@ int istream::_skip_ws()
ostream& ends(ostream& outs)
{
outs.put('\0');
if (outs.opfx())
outs.put('\0');
return outs;
}
ostream& endl(ostream& outs)
{
if (opfx)
if (outs.opfx())
flush(outs.put('\n'));
return outs;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment