Additional error checking by Jim Park.
Also some cleaning. git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6058 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
e438c2092b
commit
cefeec3676
6 changed files with 11 additions and 18 deletions
|
@ -5892,6 +5892,11 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
|||
build_overwrite=1; // off
|
||||
int old_build_datesave=build_datesave;
|
||||
build_datesave=0; // off
|
||||
|
||||
// Jim Park: While the code looks as if the same DLL is added multiple
|
||||
// times for each command in the DLL, this is actually not the case
|
||||
// because of CEXEBuild::datablock_optimize() that tries to discover
|
||||
// duplicates and reuse them.
|
||||
ret=do_add_file(dllPath.c_str(),0,0,&files_added,tempDLL,2,&data_handle); // 2 means no size add
|
||||
if (ret != PS_OK) {
|
||||
return ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue