1 --- printf.c.orig 2003-05-20 15:22:43.000000000 -0700
2 +++ printf.c 2005-02-23 16:34:28.000000000 -0800
5 __FBSDID("$FreeBSD: src/lib/libc/stdio/printf.c,v 1.10 2002/09/06 11:23:55 tjr Exp $");
7 +#include "xlocale_private.h"
16 - ret = vfprintf(stdout, fmt, ap);
17 + ret = vfprintf_l(stdout, __current_locale(), fmt, ap);
23 +printf_l(locale_t loc, char const * __restrict fmt, ...)
28 + /* no need to call NORMALIZE_LOCALE(loc) because vfprintf_l will */
30 + ret = vfprintf_l(stdout, loc, fmt, ap);