1 --- wcwidth.c.orig 2004-11-25 11:38:21.000000000 -0800
2 +++ wcwidth.c 2005-02-24 00:37:25.000000000 -0800
5 __FBSDID("$FreeBSD: src/lib/libc/locale/wcwidth.c,v 1.7 2004/08/12 12:19:11 tjr Exp $");
7 +#include "xlocale_private.h"
16 - return (__wcwidth(wc));
17 + return (__wcwidth_l(wc, __current_locale()));
21 +wcwidth_l(wchar_t wc, locale_t loc)
24 + NORMALIZE_LOCALE(loc);
25 + return (__wcwidth_l(wc, loc));