Samuel Thibault, le Wed 18 Jan 2012 00:58:06 +0100, a écrit : > Samuel Thibault, le Wed 18 Jan 2012 00:56:34 +0100, a écrit : > > Samuel Thibault, le Wed 18 Jan 2012 00:46:14 +0100, a écrit : > > > Samuel Thibault, le Wed 18 Jan 2012 00:42:07 +0100, a écrit : > > > > I've debugged a bit, and the culprit is that in msvcrt, swprintf does > > > > not have the maxlen parameter... > > > > > > But it provides an snwprintf which does have it. What a mess. > > > > But that snwprintf simply returns an error if the buffer is not big > > enough, instead of truncating and giving sizes in the %n parameters. > > Interestingly enough, if the buffer is NULL and size is 0, it does not > return an error, and returns proper sizes...
With a buffer with proper size, it seems to be filling it with 8bit strings instead of wide character strings... Samuel _______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: [email protected] For general information, go to: http://mielke.cc/mailman/listinfo/brltty
