On 30/12/2011 13:55, Chris Sutcliffe wrote:
> On 30 December 2011 05:23, Kai Tietz wrote:
>> 2011/12/30 JonY:
>>> Thanks for the bug report, will investigate.
>>
>> Hmm, not sure if this is related to swprintf and mingw-POSIX variant.
>> I would assume the bug here is the use of %s for a wide-strin
On 30 December 2011 05:23, Kai Tietz wrote:
> 2011/12/30 JonY:
>> Thanks for the bug report, will investigate.
>
> Hmm, not sure if this is related to swprintf and mingw-POSIX variant.
> I would assume the bug here is the use of %s for a wide-string. Using
>
> wcscpy(test, TEXT("test"));
> swpr
2011/12/30 JonY :
> On 12/30/2011 11:50, Chris Sutcliffe wrote:
>> On 29 December 2011 19:27, Chris Sutcliffe wrote:
>>> Using the latest update to the mingw-w64 packages in Cygwin, I've run
>>> in to an issue where swprintf is truncating an included string.
>>
>> The issue is with the new __mingw_
On 12/30/2011 11:50, Chris Sutcliffe wrote:
> On 29 December 2011 19:27, Chris Sutcliffe wrote:
>> Using the latest update to the mingw-w64 packages in Cygwin, I've run
>> in to an issue where swprintf is truncating an included string.
>
> The issue is with the new __mingw_*printf functions that w
On 29 December 2011 19:27, Chris Sutcliffe wrote:
> Using the latest update to the mingw-w64 packages in Cygwin, I've run
> in to an issue where swprintf is truncating an included string.
The issue is with the new __mingw_*printf functions that were added.
Using this code:
#include
#include
in
Hi All,
Using the latest update to the mingw-w64 packages in Cygwin, I've run
in to an issue where swprintf is truncating an included string. In my
code i have:
wcscpy(method, TEXT("Logoff"));
swprintf(messageText, TEXT("Are you sure you want to %s?"), method);
which results in "Are you sure yo