Date: Sat, 7 Feb 2009 14:09:31 GMT From: das@FreeBSD.org To: christoph.mallon@FreeBSD.org, das@FreeBSD.org, freebsd-standards@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/114578: [libc] wide character printing using swprintf(dst, n, "%ls", txt) fails depending on LC_CTYPE Message-ID: <200902071409.n17E9V8Y093858@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
Synopsis: [libc] wide character printing using swprintf(dst, n, "%ls", txt) fails depending on LC_CTYPE State-Changed-From-To: open->suspended State-Changed-By: das State-Changed-When: Sat Feb 7 14:04:44 UTC 2009 State-Changed-Why: suspended awaiting patches Class-Changed-From-To: sw-bug->change-request Class-Changed-By: das Class-Changed-When: Sat Feb 7 14:04:44 UTC 2009 Class-Changed-Why: The present implementation of swprintf() could be much better, and the submitter is rightly offended, but this doesn't seem to be a bug. Responsible-Changed-From-To: freebsd-standards->freebsd-bugs Responsible-Changed-By: das Responsible-Changed-When: Sat Feb 7 14:04:44 UTC 2009 Responsible-Changed-Why: Reclassify this as a general bug. Although swprintf's behavior of converting from wide characters to multibyte representations and back again appears not to be a standards violation, a better implementation would avoid the extra work. http://www.freebsd.org/cgi/query-pr.cgi?pr=114578
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902071409.n17E9V8Y093858>