bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #50909] eval_makefile for $(MAKEFILES) doesn't add file name to str


From: enrique olaizola
Subject: [bug #50909] eval_makefile for $(MAKEFILES) doesn't add file name to strcache
Date: Tue, 2 May 2017 02:22:56 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #1, bug #50909 (project make):

Patch didn't make it in the uploads so inserting it here:

diff --git a/read.c b/read.c
index 047807a..0718145 100644
--- a/read.c
+++ b/read.c
@@ -204,7 +204,7 @@ read_all_makefiles (const char **makefiles)
       { 
         if (*p != '\0')
           *p++ = '\0';
-        eval_makefile (name, RM_NO_DEFAULT_GOAL|RM_INCLUDED|RM_DONTCARE);
+        eval_makefile (strcache_add (name),
RM_NO_DEFAULT_GOAL|RM_INCLUDED|RM_DONTCARE);
       }

     free (value);


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50909>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]