cvs commit: src/lib/libc/locale big5.c euc.c mskanji.c utf8.c
Hye-Shik Chang
perky at i18n.org
Mon Nov 10 21:21:37 PST 2003
On Tue, Nov 11, 2003 at 04:11:50PM +1100, Tim Robbins wrote:
> On Tue, Nov 11, 2003 at 01:22:54PM +0900, Hye-Shik Chang wrote:
[snip]
> >
> > JFYI, I can't input characters in libreadline and GTK+2 on UTF-8 locales
> > (ports/misc/utf8locale) after this change. (and they work again when rollback
> > it to utf8.c rev 1.2)
> >
> > I'm tracking it down but I don't know what's the problem exactly yet.
>
> Ugh, sorry. Can you try this patch and let me know whether it fixes it?
>
> --- utf8.c.old Tue Nov 11 16:05:05 2003
> +++ utf8.c Tue Nov 11 16:05:19 2003
> @@ -143,7 +143,7 @@ _UTF8_mbrtowc(wchar_t * __restrict pwc,
> }
> if (pwc != NULL)
> *pwc = wch;
> - return (wch == L'\0' ? 0 : i);
> + return (wch == L'\0' ? 0 : len);
> }
>
> size_t
>
Okay. It works again! Thank you! :)
Regards,
Hye-Shik =)
More information about the cvs-src
mailing list