Subject: Re: CVS commit: basesrc
To: None <sjg@netbsd.org>
From: Michael Eriksson <eramore@era-t.ericsson.se>
List: source-changes
Date: 03/01/2000 20:28:42
> 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