1 --- vsscanf.c.orig 2003-05-20 15:22:44.000000000 -0700
2 +++ vsscanf.c 2005-02-23 16:57:18.000000000 -0800
5 __FBSDID("$FreeBSD: src/lib/libc/stdio/vsscanf.c,v 1.12 2002/10/12 16:13:41 mike Exp $");
7 +#include "xlocale_private.h"
16 - return (__svfscanf(&f, fmt, ap));
17 + return (__svfscanf_l(&f, __current_locale(), fmt, ap));
21 +vsscanf_l(str, loc, fmt, ap)
22 + const char * __restrict str;
24 + const char * __restrict fmt;
28 + struct __sFILEX ext;
30 + NORMALIZE_LOCALE(loc);
33 + f._bf._base = f._p = (unsigned char *)str;
34 + f._bf._size = f._r = strlen(str);
40 + return (__svfscanf_l(&f, loc, fmt, ap));