Boost logo

Boost-Build :

Subject: Re: [Boost-build] [patch] wrong type in list_new()
From: Kohei Takahashi (flast_at_[hidden])
Date: 2012-08-15 11:56:02


I made mistake in previous mail, please ignore that.
The first patch is correct.

I'm so sorry to inconvenience you once again.

Thanks,
Kohei Takahashi

(2012/08/16 0:43), Kohei Takahashi wrote:
> Sorry, previous patch was a little wrong. I attached the correct one.
>
> Thanks,
>
> --
> Kohei Takahashi
>
> (2012/08/15 18:53), Kohei Takahashi wrote:
>> Hi,
>>
>> It seems list_new(engine/lists.c:115) calls BJAM_MALLOC with wrong type.
>>
>> head = BJAM_MALLOC( sizeof( LIST * ) + sizeof( OBJECT * ) );
>>
>> I think, should be followings.
>>
>> head = BJAM_MALLOC( sizeof( LIST ) + sizeof( OBJECT * ) );
>>
>> BTW, list_new is similar to list_alloc and should use it.
>> I attached the patch to this mail.
>>
>> Thanks,
>>
>>
>>
>> _______________________________________________
>> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>>
>>
>>
>> _______________________________________________
>> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build




Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk