http://llvm.org/bugs/show_bug.cgi?id=16427
Bug ID: 16427
Summary: Incorrect handling of delimiters in
std::basic_istream::ignore
Product: libc++
Version: unspecified
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 10747
--> http://llvm.org/bugs/attachment.cgi?id=10747&action=edit
test program
When called with the default delimiter (EOF) basic_istream<char>::ignore seems
to stop at bytes with a value of 0xFF, possibly because the delimiter is cast
to char_type for comparison with characters read from the input. The attached
testcase demonstrates this; it runs without output when compiled against
libstdc++ but asserts when compiled against libc++.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs