make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU make 3.81beta4 released


From: Markus Mauhart
Subject: Re: GNU make 3.81beta4 released
Date: Sat, 21 Jan 2006 21:23:01 +0100

"Eli Zaretskii" <address@hidden> 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.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]