Re: Bug in make-3.81: variable_buffer moves out from under buffer

2009-01-20 Thread Paul Smith
On Tue, 2009-01-20 at 18:53 +, David Wuertele wrote: I posted this to the developer list but got no response. Looks like there's been no activity on that list since October. Is it dead? Anyway, here's the bug report: Which list do you mean by the developer list? It's helpful if you

RE: Bug in make-3.81: variable_buffer moves out from under buffer

2009-01-20 Thread Martin Dorey
-bounces+mdorey=bluearc@gnu.org] On Behalf Of Paul Smith Sent: Tuesday, January 20, 2009 11:16 To: David Wuertele Cc: bug-make@gnu.org Subject: Re: Bug in make-3.81: variable_buffer moves out from under buffer On Tue, 2009-01-20 at 18:53 +, David Wuertele wrote: I posted this to the developer

Re: Bug in make-3.81: variable_buffer moves out from under buffer

2009-01-20 Thread David Wuertele
Martin Dorey mdorey at bluearc.com writes: And it looks like there are several other instances of it too. That's what I was afraid of. I looked at the other places where xrealloc could get called, but I couldn't find any that referenced the original buffer address after the xrealloc. I

RE: Bug in make-3.81: variable_buffer moves out from under buffer

2009-01-20 Thread Martin Dorey
, 2009 13:44 To: bug-make@gnu.org Subject: Re: Bug in make-3.81: variable_buffer moves out from under buffer Martin Dorey mdorey at bluearc.com writes: And it looks like there are several other instances of it too. That's what I was afraid of. I looked at the other places where xrealloc could

Re: Bug in make-3.81: variable_buffer moves out from under buffer

2009-01-20 Thread David Wuertele
Martin Dorey mdorey at bluearc.com writes: In the original makefile, does the long rule really not contain any variables or involve any $(eval) trickery? Not sure what you mean by trickery, but it definitely involves eval and variables. The rule is created with an eval: $(eval $(call

RE: Bug in make-3.81: variable_buffer moves out from under buffer

2009-01-20 Thread Martin Dorey
=bluearc@gnu.org] On Behalf Of David Wuertele Sent: Tuesday, January 20, 2009 15:07 To: bug-make@gnu.org Subject: Re: Bug in make-3.81: variable_buffer moves out from under buffer Martin Dorey mdorey at bluearc.com writes: In the original makefile, does the long rule really not contain any