This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: %S %C vfprintf contribution
- From: Nicholas Wourms <nwourms at myrealbox dot com>
- To: newlib at sources dot redhat dot com
- Date: Thu, 30 Oct 2003 18:11:46 -0500
- Subject: Re: %S %C vfprintf contribution
- References: <3FA0F187.7000906@softminecorp.com>
Artem B. Bityuckiy wrote:
Hello.
Here is the patch that makes vfprintf (and hence, all other
vfprintf-based Xprintf functions) understand ISO C 90 %S (same as %ls)
and %C (same as %lc) format placeholders. Please, review it and give us
know if something is wrong.
This is tested a little bit- it works and it seems should work with any
locale if wcrtomb and wcsrtomb functions work.
I believe the preferred patch type is unidiff or `diff -up`.
Cheers,
Nicholas