This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Handle variable-width encodings in seekoff
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Pétur Runólfsson <peturr02 at ru dot is>
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Wed, 10 Sep 2003 08:43:21 -0500
- Subject: Re: [PATCH] Handle variable-width encodings in seekoff
- Organization: Red Hat / Paris
- References: <07D05A69A3D0C14FAEA60C3ACE8E5564028D0E1C@mail.ru.is>
>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