diff options
author | Petur Runolfsson <peturr02@ru.is> | 2003-10-09 16:11:40 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2003-10-09 16:11:40 +0000 |
commit | 1a139c592401a515cb1238057f89fbac5201c9c8 (patch) | |
tree | b4bd7eca6d663546516f03c298346c29db83fe8d /gcc/config.gcc | |
parent | 69c7b8276916ac7807d34abc96c9fb64326995a5 (diff) | |
download | gcc-1a139c592401a515cb1238057f89fbac5201c9c8.zip gcc-1a139c592401a515cb1238057f89fbac5201c9c8.tar.gz gcc-1a139c592401a515cb1238057f89fbac5201c9c8.tar.bz2 |
re PR libstdc++/9874 (filebuf::seekpos fails if codecvt::encoding() <= 0)
2003-10-09 Petur Runolfsson <peturr02@ru.is>
PR libstdc++/9874
* include/bits/fstream.tcc (basic_filebuf::seekoff):
Move code needed for both seekoff and seekpos...
(basic_filebuf::_M_seek): ...here. New function.
(basic_filebuf::seekpos): Don't call seekoff, call _M_seek.
* include/std/std_fstream.h (basic_filebuf::_M_seek): Declare it.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: New test.
* testsuite/22_locale/locale/cons/12438.cc: Increase memory limit.
From-SVN: r72268
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions