|
From: | David Boyce |
Subject: | Re: GSoC: OOD detection |
Date: | Wed, 02 May 2007 08:04:17 -0400 |
It seems some transitional state must be stored within the make process. Maybe building on your idea, the ood_pre() function could return a char pointer which would be null if the target is up to date and otherwise a valid string. This string is then passed into the ood_post() call for it to use as desired. The typical use would be to remember size/date/MD5 of the prereqs from the pre call and check that they're unchanged in the post.
Minor addendum to my proposal: the pointer above would be better as a "void *" to allow the implementation to pass any state data it likes.
David B
[Prev in Thread] | Current Thread | [Next in Thread] |