Bug 6116 - Fix default when no adjustfield flag is set, also add support for ios_base::internal
Summary: Fix default when no adjustfield flag is set, also add support for ios_base::i...
Status: NEW
Alias: None
Product: uClibc++
Classification: Unclassified
Component: Standard Compliance (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 major
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-13 22:54 UTC by Per Øyvind Karlsen
Modified: 2014-04-01 14:41 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
fix ostream adjustfield (821 bytes, patch)
2013-03-13 22:54 UTC, Per Øyvind Karlsen
Details
fix ostream adjustfield (856 bytes, patch)
2014-03-24 13:46 UTC, Per Øyvind Karlsen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Per Øyvind Karlsen 2013-03-13 22:54:56 UTC
Created attachment 4814 [details]
fix ostream adjustfield

The attached patch fixes an issue where no adjustfield flag set doesn't give same default behaviour as if ios_base::right were set.

It also adds proper support for the ios_base::internal flag.
Comment 1 Per Øyvind Karlsen 2014-03-24 13:46:54 UTC
Created attachment 5306 [details]
fix ostream adjustfield

updated patch with signed-off-by added
Comment 2 Bernhard Reutner-Fischer 2014-04-01 14:41:10 UTC
This patch seems to be incomplete, also please add a test to tests/iotest.cpp to illustrate the error and exercise the fix.

TIA,