[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
VMS Environment Variable bug in GNU Make
From: |
John Fowler |
Subject: |
VMS Environment Variable bug in GNU Make |
Date: |
Mon, 15 Jan 2001 15:14:31 -0700 (MST) |
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, address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- VMS Environment Variable bug in GNU Make,
John Fowler <=