[BRLTTY] More issues with BrlTTY on Windows7
Samuel Thibault
samuel.thibault at ens-lyon.org
Tue Jan 17 18:58:06 EST 2012
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...
Samuel
More information about the BRLTTY
mailing list