[1.7] bug in printf and %ls

Alexey Borzenkov snaury@gmail.com
Fri May 15 09:49:00 GMT 2009

On Fri, May 15, 2009 at 1:30 PM, Alexey Borzenkov <snaury@gmail.com> wrote:
> And I found why. It appears that there's a bug in printf with %ls that
> will refuse to print the string completely if the wide string for %ls
> cannot be represented in current charset.


> Prints nothing, i.e. it doesn't print neither of single quotes.

So, as it seems printf on linux abort like that too, although it
manages to print first single quote first. So the only remaining
question is why newlib doesn't print the first single quote.

Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

More information about the Cygwin mailing list