From 4cd35390242bc3e7720dd9831e4bd03e55c636e2 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Wed, 1 Feb 2006 07:54:22 +0000 Subject: Various updates, mainly to the Windows port, from Eli Zaretskii and Markus Maurhart. --- remake.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'remake.c') diff --git a/remake.c b/remake.c index 3500535..184e910 100644 --- a/remake.c +++ b/remake.c @@ -159,7 +159,8 @@ update_goal_chain (struct dep *goals) /* Set the goal's `changed' flag if any commands were started by calling update_file above. We check this flag below to decide when to give an "up to date" diagnostic. */ - g->changed += commands_started - ocommands_started; + if (commands_started > ocommands_started) + g->changed = 1; /* If we updated a file and STATUS was not already 1, set it to 1 if updating failed, or to 0 if updating succeeded. Leave -- cgit v1.2.3