s?wprintf family of functions has broken %s formatter output
Mon Jun 11 12:58:00 GMT 2012
> `--> ./testvswprintf.exe
> this works, 1, 2, 3...
> but the following does not:
> ret: 1
> buf: >T<
> ret: 4
> wcout: >THIS IS A TEST<
> The same code works well on both Ubuntu with GCC and on Windows with
> Visual Studio 2010.
I just tried your test with g++ (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2:
this works, 1, 2, 3...
but the following does not:
wcout: >THIS IS A TEST<
Looks quite the same, so itÂ’s not really a Cygwin-only problem.
My Ubuntu 11.04 is a bit dated already, so maybe you have a newer
Ubuntu version with a fixed swprintf?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin