I found another problem in variable.c for GNU Make 3.79.1.

Line 222-234 replace $ signs in variable values with double $$.  The problem
is, the result is not null-terminated before being passed to define_variable
on line 236.  This can be fixed by inserting the line:

*nptr = '\0';

immediately prior to the define_variable call on line 236.  (Don't touch
the define_variable call on line 240!)

Thanks,

John Fowler
[EMAIL PROTECTED]

_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to