diff options
author | Paolo Carlini <pcarlini@suse.de> | 2003-11-27 17:56:05 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2003-11-27 17:56:05 +0000 |
commit | 5536b61c1e2a849f29e1a4d9991cc85c2e24c8c7 (patch) | |
tree | b67fd3f002c2a7bc3de9e3d78dd0af338a2c7a96 /gcc | |
parent | c9ae693dcf516cdda79ee17f4942aaf61b307a9c (diff) | |
download | gcc-5536b61c1e2a849f29e1a4d9991cc85c2e24c8c7.zip gcc-5536b61c1e2a849f29e1a4d9991cc85c2e24c8c7.tar.gz gcc-5536b61c1e2a849f29e1a4d9991cc85c2e24c8c7.tar.bz2 |
re PR libstdc++/11544 (wifstream conversion errors result in wrong rdstate())
2003-11-27 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/11544
PR libstdc++/11603
* include/bits/fstream.tcc (underflow): Throw ios_base:failure
upon incomplete or invalid byte sequences in the file.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-1.cc: New.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-2.cc: New.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc: New.
From-SVN: r74000
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions