$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-build] [patch] wrong type in list_new()
From: Kohei Takahashi (flast_at_[hidden])
Date: 2012-08-15 05:53:34
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,
-- Kohei Takahashi flast_at_[hidden]