From: Johannes Schindelin Date: Mon, 26 Dec 2005 22:18:03 GMT Subject: Re: [PATCH] avoid asking ?alloc() for zero bytes. Message-ID: In-Reply-To: <7vslsfikii.fsf_-_@assigned-by-dhcp.cox.net> Hi, On Mon, 26 Dec 2005, Junio C Hamano wrote: > Avoid asking for zero bytes when that change simplifies overall > logic. Later we would change the wrapper to ask for 1 byte on > platforms that return NULL for zero byte request. > > Signed-off-by: Junio C Hamano > > --- > > * Here is what I have now that roughly corresponds to your > patch, which has been somewhat tested. Thanks. > The final phase of making sure we return something from > x*alloc() is not done yet. Tomorrow I'll compare the two patches and find out what, if anything, is needed. Ciao, Dscho