|
Boost-Build : |
From: gLeonid (gleonid_at_[hidden])
Date: 2003-12-09 13:45:51
Hi.
I am looking at the source code for boost jam from boost-build-2.0-
m9.1.zip
In rules.c there is a function called search_for_target question.
This function is using hashtable 'located_targets'.
It looks like this hash table is always empty, since there is no
calls of 'hashcheck' to this hash table.
Can you please tell me if this hash table was an accidental by
product of copy and paste from search.c and should be removed from
the source code along with LOCATED_TARGET structure, or at line 246
it should read something like this:
if( hashenter( located_targets, (HASHDATA **)<a ) )
{
memset( (char *)t, '\0', sizeof( *lta ) );
t->file_name = newstr(result->boundname) ;
t->target = result;
}
Thanks
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