diff options
author | Paul Smith <psmith@gnu.org> | 2002-07-08 13:05:02 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2002-07-08 13:05:02 +0000 |
commit | 724925be2b9a48f7911ee6baa315b872bd86995c (patch) | |
tree | cc19b7c671850891cdc4ebde9d33dd897de3a1d2 /implicit.c | |
parent | 2f20fc1cc71e0b59e2cd859e927fea6115a30f76 (diff) | |
download | gunmake-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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |