Bug 6104

Summary: getline() fails to set noskipws flag
Product: uClibc++ Reporter: Per Øyvind Karlsen <proyvind>
Component: Standard ComplianceAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: uclibc-cvs
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:
Attachments: make getline() setting noskipws flag
fix string getline to set noskipws

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