From: Michal Rokos Date: Wed, 05 Mar 2008 15:48:46 GMT Subject: Re: [PATCH] Add compat/vsnprintf.c for systems that returns -1 on maxsize reached Message-ID: <200803051648.46799.michal.rokos@nextsoft.cz> In-Reply-To: <47CEBAA3.5060109@viscovery.net> Hi, On Wednesday 05 March 2008 16:22:11 Johannes Sixt wrote: > 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