From 890a83c2b196fc4cc4260d2828997b30103fa95d Mon Sep 17 00:00:00 2001 From: kichik Date: Sat, 8 May 2004 11:35:21 +0000 Subject: [PATCH] fixed local include on POSIX git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3541 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/script.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/script.cpp b/Source/script.cpp index 70ae2da7..ceec8958 100644 --- a/Source/script.cpp +++ b/Source/script.cpp @@ -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)) {