refactoring:

- added CEXEBuild::update_exehead() and made everyone use it
 - renamed some variables (of the *exeheader* variety)
bug fix:
 - uninstaller CRC-check failed if !packhdr created a non-512-bytes-aligned exehead


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3695 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2004-10-02 18:04:41 +00:00
parent 60aa307741
commit ba8a64a806
12 changed files with 132 additions and 131 deletions

View file

@ -235,9 +235,9 @@ int main(int argc, char **argv)
{
if (build.display_info)
{
fprintf(g_output,"Size of zlib EXE header is %d bytes.\n",zlib_exeheader_size);
fprintf(g_output,"Size of bzip2 EXE header is %d bytes.\n",bzip2_exeheader_size);
fprintf(g_output,"Size of lzma EXE header is %d bytes.\n",lzma_exeheader_size);
fprintf(g_output,"Size of zlib EXE header is %d bytes.\n",zlib_exehead_size);
fprintf(g_output,"Size of bzip2 EXE header is %d bytes.\n",bzip2_exehead_size);
fprintf(g_output,"Size of lzma EXE header is %d bytes.\n",lzma_exehead_size);
fprintf(g_output,"Size of first header is %d bytes.\n",sizeof(firstheader));
fprintf(g_output,"Size of main header is %d bytes.\n",sizeof(header));
fprintf(g_output,"Size of each section is %d bytes.\n",sizeof(section));