Re: [AD] Grabber and vsnprintf

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


I strongly condemn it. the grabber.c doesn't compile in MSVC. i wanted to give a patch that changes all vsnprintfs to vsprintfs (in spite of the obvious hole) >:E

On 5/14/05, Evert Glebbeek <eglebbk@xxxxxxxxxx> wrote:
I'd used vsnprintf a few times in the grabber, but it seems to be C99 only.
The attached patch changes it to uvszprintf, which seems to work just fine
despite not setting the encoding.
There are quite a few calls to vsprintf() in dat that we should probably
also change for good measure.

Evert





--
Karthik
http://guilt.bafsoft.net

Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/