Merging various fixes from latest Jim Park repository
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6096 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
23fe81e16e
commit
74ffaada4e
4 changed files with 37 additions and 12 deletions
|
@ -225,7 +225,8 @@ params:
|
|||
if (!pExec[0])
|
||||
{
|
||||
pushstring(_T("error"));
|
||||
*(pExec-2) = _T('\0'); // skip space and quote
|
||||
if (pExec-2 >= g_exec)
|
||||
*(pExec-2) = _T('\0'); // skip space and quote
|
||||
if (executor) DeleteFile(executor);
|
||||
GlobalFree(g_exec);
|
||||
return;
|
||||
|
@ -393,7 +394,8 @@ done:
|
|||
CloseHandle(read_stdout);
|
||||
CloseHandle(newstdin);
|
||||
CloseHandle(read_stdin);
|
||||
*(pExec-2) = _T('\0'); // skip space and quote
|
||||
if (pExec-2 >= g_exec)
|
||||
*(pExec-2) = _T('\0'); // skip space and quote
|
||||
if (executor) DeleteFile(executor);
|
||||
GlobalFree(g_exec);
|
||||
if (log) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue