From ac0e85db40814f1a5a0624b5ce6f6834d3ee165c Mon Sep 17 00:00:00 2001 From: kichik Date: Sat, 5 Mar 2005 12:07:13 +0000 Subject: [PATCH] fixed bug #1144763 - more than 3 files in uninstall, cannot compile data was added to udata after setro(TRUE) was used git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3917 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/build.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/build.cpp b/Source/build.cpp index d34f67df..3be503bd 100644 --- a/Source/build.cpp +++ b/Source/build.cpp @@ -2966,7 +2966,9 @@ int CEXEBuild::uninstall_generate() pos += l; left -= l; } + udata.setro(FALSE); udata.add(&crc, sizeof(crc)); + udata.setro(TRUE); } #endif