Re: [PATCH] Add compat/vsnprintf.c for systems that returns -1 on maxsize reached
Hi,
On Wednesday 05 March 2008 16:22:11 Johannes Sixt wrote:
Show 8 quoted lines
> Michal Rokos schrieb:
> > Thank you for your comments; is this better?
>
> Better, but still not there. See below. The configure test looks fine, but
> I can't test it.
>
> Finally, please make this a proper patch with Signed-off-by for Junio to
> pick up.
Did that. Thank you for your review.
> What if maxsize == 0? Insert here:
>
> if (maxsize < 250)
> maxsize = 250;
I've just used 128 which I hope is OK - it's multiplied 4 * anyway.
Michal
--
Michal Rokos
NextSoft s.r.o.
Vyskočilova 1/1410
140 21 Praha 4
phone: +420 267 224 311
fax: +420 267 224 307
mobile: +420 736 646 591
e-mail: michal.rokos@nextsoft.cz