Deleted Added
full compact
44c44
< __FBSDID("$FreeBSD: head/lib/libc/stdio/vfwprintf.c 124887 2004-01-23 22:48:16Z das $");
---
> __FBSDID("$FreeBSD: head/lib/libc/stdio/vfwprintf.c 128002 2004-04-07 09:55:05Z tjr $");
166a167,168
> static const mbstate_t initial;
> mbstate_t mbs;
175c177,178
< if ((len = wcrtomb(buf, wc, NULL)) == (size_t)-1) {
---
> mbs = initial;
> if ((len = wcrtomb(buf, wc, &mbs)) == (size_t)-1) {
356a360,361
> static const mbstate_t initial;
> mbstate_t mbs;
374a380
> mbs = initial;
376c382
< nconv = mbrlen(p, MB_CUR_MAX, NULL);
---
> nconv = mbrlen(p, MB_CUR_MAX, &mbs);
398a405
> mbs = initial;
400c407
< nconv = mbrtowc(wcp, p, insize, NULL);
---
> nconv = mbrtowc(wcp, p, insize, &mbs);