* read.c (read_all_makefiles): [SV 50909] Add MAKEFILES to strcache

Copyright-paperwork-exempt: yes
This commit is contained in:
Enrique Olaizola 2017-05-27 14:56:57 -04:00 committed by Paul Smith
parent 8ff529b1cb
commit 816a867ff5

2
read.c
View File

@ -205,7 +205,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);