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:
parent
473d90a1bc
commit
890a83c2b1
1 changed files with 1 additions and 0 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue