Source-Changes archive

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

Re: CVS commit: basesrc



> Modified Files:
>       basesrc/usr.bin/make: make.c
> 
> Log Message:
> Fixed the oodate test to include the check of gn->cmtime == 0 without
> breaking the original intent.

The new test,

        oodate = (gn->cmtime == 0 || Arch_LibOODate (gn) ||
                 (gn->cmtime == 0 && (gn->type & OP_DOUBLEDEP)));

looks like a complicated way of writing

        oodate = (gn->cmtime == 0 || Arch_LibOODate (gn));

There's a bug hiding in there somewhere... :-)

Regards,
Michael



Home | Main Index | Thread Index | Old Index