[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libtar: FTBFS on hurd-i386



Svante Signell, le Tue 17 Jan 2012 22:18:15 +0100, a écrit :
> On Tue, 2012-01-17 at 19:48 +0100, Samuel Thibault wrote:
> > Svante Signell, le Tue 17 Jan 2012 19:24:40 +0100, a écrit :
> > > +	if (!allocated) {
> > > +		allocated = 64;
> > > +		bname = malloc(allocated);
> > > +		if (!bname) {
> > > +			allocated = 0;
> > > +			return NULL;
> > > +		}
> > 
> > This is useless:
> > > +		bname[0] = '\0';
> 
> This was added to make valgrind happy.

How that?

Samuel


Reply to: