kern/114578: [libc] wide character printing using swprintf(dst, n, "%ls", txt) fails depending on LC_CTYPE

ache at FreeBSD.org ache at FreeBSD.org
Sun Jul 15 07:32:45 UTC 2007


Synopsis: [libc] wide character printing using swprintf(dst, n, "%ls", txt) fails depending on LC_CTYPE

State-Changed-From-To: closed->open
State-Changed-By: ache
State-Changed-When: Sun Jul 15 07:26:49 UTC 2007
State-Changed-Why: 
POSIX mention fputwc() requirement only for fwprintf() and wprintf(), 
not for swprintf(), so fputwc()-mbsrtowcs() forth and back conversion 
we currently have as result of pseudo-file stdio hook is not needed 
in direct implemetation (which skips whole multibyte part).


http://www.freebsd.org/cgi/query-pr.cgi?pr=114578


More information about the freebsd-standards mailing list