On Tue, 22 May 2001, ha shao wrote:

> On Tue, May 22, 2001 at 02:11:39PM +0200, [EMAIL PROTECTED] wrote:
> > According to Dom Lachowicz <[EMAIL PROTECTED]>:
> > > 
> > > 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


Reply via email to