Improved VPatch GenPat error handling
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6938 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
1330518764
commit
02843c142d
2 changed files with 16 additions and 9 deletions
|
@ -88,7 +88,9 @@ void PatchGenerator::execute(vector<SameBlock*>& sameBlocks) {
|
|||
}
|
||||
|
||||
// we need to update the memory cache of target
|
||||
tout << _T("[CacheReload] File position = ") << static_cast<unsigned int>(targetCDataBaseOffset) << _T("\n");
|
||||
if (beVerbose) {
|
||||
tout << _T("[CacheReload] File position = ") << static_cast<unsigned int>(targetCDataBaseOffset) << _T("\n");
|
||||
}
|
||||
|
||||
target.seekg(targetCDataBaseOffset,ios::beg);
|
||||
target.read(reinterpret_cast<char*>(targetCData),targetCDataSize);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue