In istream::ignore, check the delimeter as an int_type, not as a char_type, so as...
authorHoward Hinnant <hhinnant@apple.com>
Mon, 1 Jul 2013 00:37:50 +0000 (00:37 +0000)
committerHoward Hinnant <hhinnant@apple.com>
Mon, 1 Jul 2013 00:37:50 +0000 (00:37 +0000)
commiteecacc0fadb4f1fcb2297b5dbcca5c610e8f8c21
tree975eab90e94176f660c10206e8bd95478c74606a
parent9dbbf8dece177a54760b7ce6f4b3efc3e4380483
In istream::ignore, check the delimeter as an int_type, not as a char_type, so as to correctly handle EOF.  This fixes llvm.org/bugs/show_bug.cgi?id=16427

llvm-svn: 185298
libcxx/include/istream
libcxx/test/input.output/iostream.format/input.streams/istream.unformatted/ignore_0xff.pass.cpp [new file with mode: 0644]