Hi Ruslan,

thank you for your swiftness.

On Mon, Nov 06, 2006 at 12:14:13AM +0300, Ruslan Ermilov wrote:
> Command-line variables are of the highest precedence.
> 
> %%%
> Index: parse.c
> ===================================================================
> RCS file: /home/ncvs/src/usr.bin/make/parse.c,v
> retrieving revision 1.111
> diff -u -p -r1.111 parse.c
> --- parse.c   22 Jul 2006 14:00:31 -0000      1.111
> +++ parse.c   5 Nov 2006 21:09:51 -0000
> @@ -2231,7 +2231,7 @@ parse_message(char *line, int iserror, i
>       while (isspace((u_char)*line))
>               line++;
>  
> -     line = Buf_Peel(Var_Subst(line, VAR_GLOBAL, FALSE));
> +     line = Buf_Peel(Var_Subst(line, VAR_CMD, FALSE));
>       Parse_Error(iserror ? PARSE_FATAL : PARSE_WARNING, "%s", line);
>       free(line);
>  
> %%%

The patch works.

Regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to