Bug 6104 - getline() fails to set noskipws flag
Summary: getline() fails to set noskipws flag
Status: RESOLVED FIXED
Alias: None
Product: uClibc++
Classification: Unclassified
Component: Standard Compliance (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-13 22:48 UTC by Per Øyvind Karlsen
Modified: 2014-04-01 14:24 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
make getline() setting noskipws flag (565 bytes, patch)
2013-03-13 22:48 UTC, Per Øyvind Karlsen
Details
fix string getline to set noskipws (1.06 KB, patch)
2014-03-24 13:42 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:48:28 UTC
Created attachment 4802 [details]
make getline() setting noskipws flag

The getline() function fails to set noskipws flag, which is the expected standard behaviour.

The patch attached fixes this.
Comment 1 Per Øyvind Karlsen 2014-03-24 13:42:06 UTC
Created attachment 5294 [details]
fix string getline to set noskipws

updated patch with signed-off-by etc...
Comment 2 Bernhard Reutner-Fischer 2014-04-01 14:24:49 UTC
Applied as 7c90261eb9e5cff4ea3a4e5580e4f2bc7543cb21

Thanks!

PS: Would have been nice to have a testcase added to tests/iotest.cpp