This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi. I believe that I have discovered a bug in Cygwin's/Newlib's implementation of s?wprintf() family of functions. They seem to print only the first character in given string parameter. I am attaching a test case and here is the broken output: `--> ./testvswprintf.exe this works, 1, 2, 3... but the following does not: ret: 1 buf: >T< >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. -- VZ
Attachment:
testvswprintf.cxx.txt
Description: Text document
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |