1 --- asprintf.c.bsdnew 2009-11-11 19:15:16.000000000 -0800
2 +++ asprintf.c 2009-11-11 19:15:42.000000000 -0800
5 __FBSDID("$FreeBSD: src/lib/libc/stdio/asprintf.c,v 1.15 2009/03/02 04:11:42 das Exp $");
7 +#include "xlocale_private.h"
12 @@ -43,7 +45,19 @@ asprintf(char ** __restrict s, char cons
16 - ret = vasprintf(s, fmt, ap);
17 + ret = vasprintf_l(s, __current_locale(), fmt, ap);
23 +asprintf_l(char ** __restrict s, locale_t loc, char const * __restrict fmt, ...)
29 + ret = vasprintf_l(s, loc, fmt, ap);