summaryrefslogtreecommitdiff
path: root/remake.c
diff options
context:
space:
mode:
Diffstat (limited to 'remake.c')
-rw-r--r--remake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/remake.c b/remake.c
index 029cd91..ae5f37c 100644
--- a/remake.c
+++ b/remake.c
@@ -767,7 +767,7 @@ notice_finished_file (file)
/* Propagate the change of modification time to all the double-colon
entries for this file. */
- for (f = file->double_colon; f != 0; f = f->next)
+ for (f = file->double_colon; f != 0; f = f->prev)
f->last_mtime = file->last_mtime;
}