Re: Null-termination bug in gmake

2001-03-14 Thread Paul D. Smith
Just to be completely clear, you're talking about the VMS code, right? In my current version of variable.c, these lines are different. Thx. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:

Null-termination bug in gmake

2001-03-14 Thread John Fowler
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 p