On 11/30/2010 07:17 PM, Paul Smith wrote:
> I fixed this and checked the fix into CVS. Unfortunately due to the
> Savannah compromise the website is down for a while so I can't update
> the bug. But, you can check out the new CVS code. Or, if you prefer,
> you can apply the fix yourself (it's simple):
>
>
> --- read.c 6 Nov 2010 21:56:24 -0000 1.195
> +++ read.c 30 Nov 2010 14:48:53 -0000 1.196
> @@ -1802,7 +1802,8 @@
> int len = strlen(v->name);
>
> gv = lookup_variable (v->name, len);
> - if (gv && (gv->origin == o_env_override || gv->origin ==
> o_command))
> + if (gv && v != gv
> + && (gv->origin == o_env_override || gv->origin == o_command))
> {
> if (v->value != 0)
> free (v->value);
I confirm that this patch is fixing the issue (applied on top of 3.82).
Thanks a lot for your reactivity :)
--
Mounir
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make