summaryrefslogtreecommitdiff
path: root/implicit.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2002-07-08 13:05:02 +0000
committerPaul Smith <psmith@gnu.org>2002-07-08 13:05:02 +0000
commit724925be2b9a48f7911ee6baa315b872bd86995c (patch)
treecc19b7c671850891cdc4ebde9d33dd897de3a1d2 /implicit.c
parent2f20fc1cc71e0b59e2cd859e927fea6115a30f76 (diff)
downloadgunmake-724925be2b9a48f7911ee6baa315b872bd86995c.tar.gz
Various cleanups reported by people using the alpha release.
Incorporate "order-only" prerequisites patch. Wrote a test for it. The test shows what might be a bug in the code; I need to look at it more closely (anyway it doesn't behave as I expected). Also I haven't done the docs yet.
Diffstat (limited to 'implicit.c')
-rw-r--r--implicit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/implicit.c b/implicit.c
index 05eaa7f..0a2b8d2 100644
--- a/implicit.c
+++ b/implicit.c
@@ -546,6 +546,7 @@ pattern_search (file, archive, depth, recursions)
}
dep = (struct dep *) xmalloc (sizeof (struct dep));
+ dep->ignore_mtime = 0;
s = found_files[deps_found];
if (recursions == 0)
{
@@ -611,6 +612,8 @@ pattern_search (file, archive, depth, recursions)
if (i != matches[foundrule])
{
struct dep *new = (struct dep *) xmalloc (sizeof (struct dep));
+ /* GKM FIMXE: handle '|' here too */
+ new->ignore_mtime = 0;
new->name = p = (char *) xmalloc (rule->lens[i] + fullstemlen + 1);
bcopy (rule->targets[i], p,
rule->suffixes[i] - rule->targets[i] - 1);