Re: Patch: Fix for Bug 1164, 2nd try


Subject: Re: Patch: Fix for Bug 1164, 2nd try
From: Vlad Harchev (hvv@hippo.ru)
Date: Tue May 22 2001 - 12:18:00 CDT


On Tue, 22 May 2001, ha shao wrote:

> On Tue, May 22, 2001 at 02:11:39PM +0200, hfiguiere@teaser.fr wrote:
> > According to Dom Lachowicz <dominicl@seas.upenn.edu>:
> > >
> > > This stops a few SEGVs. The iconv_t pointer was being corrupted and the
> > > internal state of the MbToWc most definitately needs to be reset.
> >
> >
> > Perhaps should we have a reinitialize () method that does the dirty work
> > without discarding everything ? Shouldn't we ?
> >
>
> Oh the clean up thing should be done inside mbtowc when the actual
> conversion is failed.

 It's done already - please see the /src/af/util/xp/ut_mbtowc.cpp - method
UT_Mbtowc::mbtowc (the last one).

 Best regards,
  -Vlad



This archive was generated by hypermail 2b25 : Sat May 26 2001 - 03:51:06 CDT