1 --- putwc.c.orig 2004-11-25 11:38:35.000000000 -0800
2 +++ putwc.c 2005-02-23 17:32:05.000000000 -0800
5 __FBSDID("$FreeBSD: src/lib/libc/stdio/putwc.c,v 1.3 2004/05/25 10:42:52 tjr Exp $");
7 +#include "xlocale_private.h"
13 putwc(wchar_t wc, FILE *fp)
16 - return (fputwc(wc, fp));
17 + return (fputwc_l(wc, fp, __current_locale()));
21 +putwc_l(wchar_t wc, FILE *fp, locale_t loc)
24 + /* no need to call NORMALIZE_LOCALE(loc) because fputwc_l will */
25 + return (fputwc_l(wc, fp, loc));