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


Subject: Re: Patch: Fix for Bug 1164, 2nd try
From: Dom Lachowicz (dominicl@seas.upenn.edu)
Date: Tue May 22 2001 - 12:19:05 CDT


> Hmm, this shouldn't be happening (or iconv implemenations are guilty in these
> SEGVs). The MbToWc does decide whether to reset iconv state judjing
> on the return value of iconv() (there are two cases - sequence is invalid or
> incomplete - if it's invalid, state is reset automatically and buffer is
> emptied- see the code). So, the 'else' you added needs to be removed.

So then remove it. Patches greatfully accepted. If it SEGVs for me
again, I'm going to revert it though.

Dom



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