summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1994-10-26 02:49:21 +0000
committerRoland McGrath <roland@redhat.com>1994-10-26 02:49:21 +0000
commit462304918ce51475ef3d0ea093478260db978a17 (patch)
tree6782d8360f0959e115106d10be139a27fa66cb17 /file.c
parent9d36c92adbabb8e4f3bb05b469c2af5789565b6c (diff)
downloadgunmake-462304918ce51475ef3d0ea093478260db978a17.tar.gz
(snap_deps): Set command_flags bits in all :: entries.
Diffstat (limited to 'file.c')
-rw-r--r--file.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/file.c b/file.c
index 353e970..748ec73 100644
--- a/file.c
+++ b/file.c
@@ -391,7 +391,8 @@ snap_deps ()
ignore_errors_flag = 1;
else
for (d = f->deps; d != 0; d = d->next)
- d->file->command_flags |= COMMANDS_NOERROR;
+ for (f2 = d->file; f2 != 0; f2 = f2->prev)
+ f2->command_flags |= COMMANDS_NOERROR;
}
f = lookup_file (".SILENT");
@@ -401,7 +402,8 @@ snap_deps ()
silent_flag = 1;
else
for (d = f->deps; d != 0; d = d->next)
- d->file->command_flags |= COMMANDS_SILENT;
+ for (f2 = d->file; f2 != 0; f2 = f2->prev)
+ f2->command_flags |= COMMANDS_NOERROR;
}
f = lookup_file (".POSIX");