Refactored postbuild_cmd and !tempfile handling to help patch #280

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7025 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2018-10-24 19:01:00 +00:00
parent 1d937a6abb
commit cce4695977
6 changed files with 112 additions and 86 deletions

View file

@ -583,7 +583,10 @@ class CEXEBuild {
struct postbuild_cmd*next;
int cmpop, cmpval;
TCHAR cmd[1];
void delete_all();
static postbuild_cmd* make(const TCHAR *cmdstr, int cmpop, int cmpval);
} *postbuild_cmds;
int run_postbuild_cmds(const postbuild_cmd *cmds, const TCHAR *templatearg_pc1, const TCHAR* commandname);
int check_external_exitcode(int exitcode, int op, int val);
TCHAR build_packname[1024], build_packcmd[1024];