[PATCH] Handle variable-width encodings in seekoff

Benjamin Kosnik bkoz@redhat.com
Wed Sep 10 13:44:00 GMT 2003


>2003-09-09  Petur Runolfsson  <peturr02@ru.is>
>
>	* include/bits/fstream.tcc (basic_filebuf::seekoff):
>	Use codecvt::length to handle variable-width stateless encodings
>	correctly.
>	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test.
>	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test.

In, thanks!

-benjamin



More information about the Gcc-patches mailing list