On Monday 10 March 2008 10:28:53 Johannes Sixt wrote: > Michal Rokos schrieb: > > Hello, > > > > I've managed to run testcase on > > Tru64 OSF1 <hostname> V5.1 2650 alpha > > and it returns > > case1: 0 > > case2: 4 > > case3: 5 > > case4: 5 > > which is sad since our vsnprintf() cannot detect this ill behaviour. > > Ugh! We'd need to run the loop until we get a return value that is not > negative and less than the size specified... Hmm, I'm afraid we have to grow our buffer size until 2 successive runs return the same value and that value is not -1. But - do we want to fix it now, when we don't even know that else would be needed for Tru64 port? There's even no Tru64 paragraph in Makefile yet. Michal PS: I have no ambition to port git to Tru64 since that test machine is accessible via friend of my friend - so I have to IM him the code and he returns value :) -- 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@xxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html