fixed local include on POSIX

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3541 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2004-05-08 11:35:21 +00:00
parent 473d90a1bc
commit 890a83c2b1

View file

@ -2548,6 +2548,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
#else
unsigned int malloced = strlen(f) + 100;
char *incfile = (char *) malloc(malloced);
strcpy(incfile, f);
glob_t globbuf;
if (!glob(incfile, GLOB_NOSORT, NULL, &globbuf))
{