Good day, In remake.c (cvs version) in function update_file there is a fragment of code which presumably is intended for double-colon rules only (line 324-332):
/* Process the remaining rules in the double colon chain so they're marked
considered. Start their prerequisites, too. */
for (; f != 0 ; f = f->prev)
{
struct dep *d;
f->considered = considered;
for (d = f->deps; d != 0; d = d->next)
status |= update_file (d->file, depth + 1);
}
However it is being run for normal rules as well. So I was wondering if
it should be changed to
if (file->double_colon)
for (; f != 0 ; f = f->prev)
{
...
at least for efficiency?
thanks,
-boris
signature.asc
Description: Digital signature
_______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-make
