"Eli Zaretskii" <[EMAIL PROTECTED]> wrote ...
>
> --- remake.c~2 2005-12-07 15:33:38.000000000 +0200
> +++ remake.c 2006-01-21 18:56:32.734375000 +0200
> @@ -159,7 +159,7 @@ 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;
> +       g->changed = commands_started > ocommands_started;

To stay on the safe side IMHO we better map the old "+=" into logical "||=":

  +       g->changed = g->changed || (commands_started > ocommands_started);


Regards,
Markus.





_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32

Reply via email to