Another bug in GNU Make 3.79.1 when used in VMS:

Line 218 of variable.c reads:

nvalue = alloca (length + scnt + 1);

It's creating space for the value of a logical (environment variable).
The problem is that "length" is the length of the name of the logical, not
the length of the value of the logical.  This causes problems when the
logical's value is longer than its name (which is usually the case).

The solution: Change line 218 to:

nvalue = alloca (strlen(value) + scnt + 1);

Thanks,

John Fowler, [EMAIL PROTECTED]

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

Reply via email to