-Index: SCons/Config/gnu\r
---- ../release/nsis-2.17-src/SCons/Config/gnu 2006-04-28 08:54:41.000000000 -0700\r
-+++ SCons/Config/gnu 2006-08-07 18:49:47.000000000 -0700\r
-@@ -65,7 +65,7 @@\r
+Index: SCons/Config/gnu
+--- ../release/nsis-2.17-src/SCons/Config/gnu 2006-04-28 08:54:41.000000000 -0700
++++ SCons/Config/gnu 2006-08-07 18:49:47.000000000 -0700
+@@ -65,7 +65,7 @@
cross_env(stub_env)\r
\r
if not defenv['DEBUG']:\r
stub_env.Append(CCFLAGS = '-Wall') # all warnings\r
stub_env.Append(CCFLAGS = '-x c') # force compile as c\r
\r
-@@ -82,8 +82,8 @@\r
+@@ -82,8 +82,8 @@
makensis_env = defenv.Copy()\r
\r
if not defenv['DEBUG']:\r
\r
conf = FlagsConfigure(makensis_env)\r
conf.CheckLinkFlag('$MAP_FLAG') # generate map file\r
-@@ -97,7 +97,7 @@\r
+@@ -97,7 +97,7 @@
cross_env(plugin_env)\r
\r
if not defenv['DEBUG']:\r
plugin_env.Append(CCFLAGS = '-Wall') # level 3 warnings\r
\r
if not defenv['DEBUG']:\r
-@@ -111,7 +111,7 @@\r
+@@ -111,7 +111,7 @@
cp_util_env = defenv.Copy()\r
\r
if not defenv['DEBUG']:\r
cp_util_env.Append(CCFLAGS = '-Wall') # all warnings\r
\r
conf = FlagsConfigure(cp_util_env)\r
-Index: Source/build.cpp\r
---- ../release/nsis-2.17-src/Source/build.cpp 2006-04-14 03:05:01.000000000 -0700\r
-+++ ./Source/build.cpp 2006-07-31 13:26:38.000000000 -0700\r
-@@ -2384,7 +2384,7 @@\r
+Index: Source/build.cpp
+--- ../release/nsis-2.17-src/Source/build.cpp 2006-04-14 03:05:01.000000000 -0700
++++ ./Source/build.cpp 2006-07-31 13:26:38.000000000 -0700
+@@ -2384,7 +2384,7 @@
return PS_ERROR;\r
}\r
#ifdef NSIS_CONFIG_CRC_SUPPORT\r
firstheader_writer w(&crc_sink);\r
w.write(&fh);\r
\r
-Index: Source/build.h\r
---- ../release/nsis-2.17-src/Source/build.h 2005-04-02 04:04:06.000000000 -0800\r
-+++ ./Source/build.h 2006-07-31 13:28:44.000000000 -0700\r
-@@ -38,7 +38,7 @@\r
+Index: Source/build.h
+--- ../release/nsis-2.17-src/Source/build.h 2005-04-02 04:04:06.000000000 -0800
++++ ./Source/build.h 2006-07-31 13:28:44.000000000 -0700
+@@ -38,7 +38,7 @@
#ifdef NSIS_CONFIG_CRC_SUPPORT\r
extern "C"\r
{\r
};\r
#endif\r
\r
-Index: Source/crc32.c\r
---- ../release/nsis-2.17-src/Source/crc32.c 2004-03-12 12:43:54.000000000 -0800\r
-+++ ./Source/crc32.c 2006-07-31 13:27:12.000000000 -0700\r
-@@ -3,18 +3,18 @@\r
+Index: Source/crc32.c
+--- ../release/nsis-2.17-src/Source/crc32.c 2004-03-12 12:43:54.000000000 -0800
++++ ./Source/crc32.c 2006-07-31 13:27:12.000000000 -0700
+@@ -3,18 +3,18 @@
#ifdef NSIS_CONFIG_CRC_SUPPORT\r
\r
// this is based on the (slow,small) CRC32 implementation from zlib.\r
for (k = 0; k < 8; k++) c = (c >> 1) ^ (c & 1 ? 0xedb88320L : 0);\r
crc_table[n] = c;\r
}\r
-Index: Source/DialogTemplate.cpp\r
---- ../release/nsis-2.17-src/Source/DialogTemplate.cpp 2006-03-24 10:36:24.000000000 -0800\r
-+++ ./Source/DialogTemplate.cpp 2006-07-31 05:48:44.000000000 -0700\r
-@@ -93,7 +93,7 @@\r
+Index: Source/DialogTemplate.cpp
+--- ../release/nsis-2.17-src/Source/DialogTemplate.cpp 2006-03-24 10:36:24.000000000 -0800
++++ ./Source/DialogTemplate.cpp 2006-07-31 05:48:44.000000000 -0700
+@@ -93,7 +93,7 @@
if (IS_INTRESOURCE(x)) { \\r
*(WORD*)seeker = 0xFFFF; \\r
seeker += sizeof(WORD); \\r
seeker += sizeof(WORD); \\r
} \\r
else { \\r
-@@ -629,7 +629,7 @@\r
+@@ -629,7 +629,7 @@
}\r
}\r
\r
\r
// DONE!\r
return pbDlg;\r
-Index: Source/exehead/fileform.c\r
---- ../release/nsis-2.17-src/Source/exehead/fileform.c 2005-09-09 09:08:44.000000000 -0700\r
-+++ ./Source/exehead/fileform.c 2006-07-31 13:26:08.000000000 -0700\r
-@@ -95,7 +95,7 @@\r
+Index: Source/exehead/fileform.c
+--- ../release/nsis-2.17-src/Source/exehead/fileform.c 2005-09-09 09:08:44.000000000 -0700
++++ ./Source/exehead/fileform.c 2006-07-31 13:26:08.000000000 -0700
+@@ -95,7 +95,7 @@
static z_stream g_inflate_stream;\r
#endif\r
\r
\r
const char * NSISCALL loadHeaders(int cl_flags)\r
{\r
-Index: Source/Platform.h\r
---- ../release/nsis-2.17-src/Source/Platform.h 2006-05-03 08:43:54.000000000 -0700\r
-+++ ./Source/Platform.h 2006-07-31 05:48:44.000000000 -0700\r
-@@ -16,15 +16,15 @@\r
+Index: Source/Platform.h
+--- ../release/nsis-2.17-src/Source/Platform.h 2006-05-03 08:43:54.000000000 -0700
++++ ./Source/Platform.h 2006-07-31 05:48:44.000000000 -0700
+@@ -16,15 +16,15 @@
// basic types\r
typedef unsigned char BYTE, *PBYTE, *LPBYTE;\r
typedef unsigned short WORD, *LPWORD;\r
typedef long long INT64, LARGE_INTEGER;\r
typedef unsigned long long UINT64, ULARGE_INTEGER;\r
typedef int BOOL, *LPBOOL;\r
-@@ -35,13 +35,14 @@\r
+@@ -35,13 +35,14 @@
typedef const char *LPCCH, *PCSTR, *LPCSTR;\r
typedef unsigned short WCHAR, *PWCHAR, *LPWCH, *PWCH, *NWPSTR, *LPWSTR, *PWSTR;\r
typedef const unsigned short *LPCWCH, *PCWCH, *LPCWSTR, *PCWSTR;\r
// bool\r
# define FALSE 0\r
# define TRUE 1\r
-@@ -129,13 +130,13 @@\r
+@@ -129,13 +130,13 @@
\r
#ifndef _WIN32\r
# ifndef FIELD_OFFSET\r
FIELD_OFFSET(IMAGE_NT_HEADERS, OptionalHeader) + \\r
FIX_ENDIAN_INT16(PIMAGE_NT_HEADERS(h)->FileHeader.SizeOfOptionalHeader) ) )\r
# endif\r
-@@ -166,9 +167,9 @@\r
+@@ -166,9 +167,9 @@
# define FOF_NOERRORUI 0x0400\r
#endif\r
\r
\r
#ifndef IDC_HAND\r
# define IDC_HAND MAKEINTRESOURCE(32649)\r
-Index: Source/Plugins.cpp\r
---- ../release/nsis-2.17-src/Source/Plugins.cpp 2006-04-05 11:42:12.000000000 -0700\r
-+++ ./Source/Plugins.cpp 2006-07-31 06:50:08.000000000 -0700\r
-@@ -120,8 +120,8 @@\r
+Index: Source/Plugins.cpp
+--- ../release/nsis-2.17-src/Source/Plugins.cpp 2006-04-05 11:42:12.000000000 -0700
++++ ./Source/Plugins.cpp 2006-07-31 06:50:08.000000000 -0700
+@@ -120,8 +120,8 @@
DWORD prd = FIX_ENDIAN_INT32(sections[i].PointerToRawData);\r
PIMAGE_EXPORT_DIRECTORY exports = PIMAGE_EXPORT_DIRECTORY(&dlldata[0] + prd + ExportDirVA - va);\r
DWORD na = FIX_ENDIAN_INT32(exports->AddressOfNames);\r
{\r
const string name = string((char*)exports + FIX_ENDIAN_INT32(names[j]) - ExportDirVA);\r
const string signature = dllName + "::" + name;\r
-Index: Source/ResourceEditor.cpp\r
---- ../release/nsis-2.17-src/Source/ResourceEditor.cpp 2006-04-05 11:40:09.000000000 -0700\r
-+++ ./Source/ResourceEditor.cpp 2006-07-31 05:48:44.000000000 -0700\r
-@@ -545,7 +545,7 @@\r
+Index: Source/ResourceEditor.cpp
+--- ../release/nsis-2.17-src/Source/ResourceEditor.cpp 2006-04-05 11:40:09.000000000 -0700
++++ ./Source/ResourceEditor.cpp 2006-07-31 05:48:44.000000000 -0700
+@@ -545,7 +545,7 @@
rdDir.NumberOfIdEntries = ConvertEndianness(rdDir.NumberOfIdEntries);\r
\r
CopyMemory(seeker, &rdDir, sizeof(IMAGE_RESOURCE_DIRECTORY));\r
seeker += sizeof(IMAGE_RESOURCE_DIRECTORY);\r
\r
for (int i = 0; i < crd->CountEntries(); i++) {\r
-@@ -566,7 +566,7 @@\r
+@@ -566,7 +566,7 @@
rDirE.NameString.NameIsString = (crd->GetEntry(i)->HasName()) ? 1 : 0;\r
\r
CopyMemory(seeker, &rDirE, sizeof(MY_IMAGE_RESOURCE_DIRECTORY_ENTRY));\r
seeker += sizeof(MY_IMAGE_RESOURCE_DIRECTORY_ENTRY);\r
}\r
qDirs.pop();\r
-@@ -582,7 +582,7 @@\r
+@@ -582,7 +582,7 @@
rDataE.Size = ConvertEndianness(cRDataE->GetSize());\r
\r
CopyMemory(seeker, &rDataE, sizeof(IMAGE_RESOURCE_DATA_ENTRY));\r
seeker += sizeof(IMAGE_RESOURCE_DATA_ENTRY);\r
\r
qDataEntries.pop();\r
-@@ -594,7 +594,7 @@\r
+@@ -594,7 +594,7 @@
while (!qStrings.empty()) {\r
CResourceDirectoryEntry* cRDirE = qStrings.front();\r
\r
\r
char* szName = cRDirE->GetName();\r
WORD iLen = strlen(szName) + 1;\r
-@@ -626,7 +626,7 @@\r
+@@ -626,7 +626,7 @@
while (!qDataEntries2.empty()) {\r
CResourceDataEntry* cRDataE = qDataEntries2.front();\r
CopyMemory(seeker, cRDataE->GetData(), cRDataE->GetSize());\r
\r
seeker += RALIGN(cRDataE->GetSize(), 8);\r
\r
-@@ -636,7 +636,7 @@\r
+@@ -636,7 +636,7 @@
/*\r
* Set all of the directory entries offsets.\r
*/\r
}\r
\r
// Sets the offsets in directory entries\r
-@@ -650,7 +650,7 @@\r
+@@ -650,7 +650,7 @@
SetOffsets(resDir->GetEntry(i)->GetSubDirectory(), newResDirAt);\r
}\r
else {\r
}\r
}\r
}\r
-@@ -758,7 +758,7 @@\r
+@@ -758,7 +758,7 @@
// Returns -1 if can not be found\r
int CResourceDirectory::Find(char* szName) {\r
if (IS_INTRESOURCE(szName))\r
else\r
if (szName[0] == '#')\r
return Find(WORD(atoi(szName + 1)));\r
-@@ -836,7 +836,7 @@\r
+@@ -836,7 +836,7 @@
if (IS_INTRESOURCE(szName)) {\r
m_bHasName = false;\r
m_szName = 0;\r
}\r
else {\r
m_bHasName = true;\r
-@@ -851,7 +851,7 @@\r
+@@ -851,7 +851,7 @@
if (IS_INTRESOURCE(szName)) {\r
m_bHasName = false;\r
m_szName = 0;\r
}\r
else {\r
m_bHasName = true;\r
-Index: Source/ResourceEditor.h\r
---- ../release/nsis-2.17-src/Source/ResourceEditor.h 2006-04-28 08:54:42.000000000 -0700\r
-+++ ./Source/ResourceEditor.h 2006-07-31 05:48:44.000000000 -0700\r
-@@ -173,7 +173,7 @@\r
+Index: Source/ResourceEditor.h
+--- ../release/nsis-2.17-src/Source/ResourceEditor.h 2006-04-28 08:54:42.000000000 -0700
++++ ./Source/ResourceEditor.h 2006-07-31 05:48:44.000000000 -0700
+@@ -173,7 +173,7 @@
\r
void Destroy();\r
\r
\r
private:\r
IMAGE_RESOURCE_DIRECTORY m_rdDir;\r
-@@ -197,7 +197,7 @@\r
+@@ -197,7 +197,7 @@
\r
CResourceDataEntry* GetDataEntry();\r
\r
\r
private:\r
bool m_bHasName;\r
-@@ -226,7 +226,7 @@\r
+@@ -226,7 +226,7 @@
DWORD GetSize();\r
DWORD GetCodePage();\r
\r
\r
private:\r
BYTE* m_pbData;\r
-Index: Source/script.cpp\r
---- ../release/nsis-2.17-src/Source/script.cpp 2006-03-28 10:22:34.000000000 -0800\r
-+++ ./Source/script.cpp 2006-07-31 20:56:03.000000000 -0700\r
-@@ -4748,8 +4748,8 @@\r
+Index: Source/script.cpp
+--- ../release/nsis-2.17-src/Source/script.cpp 2006-03-28 10:22:34.000000000 -0800
++++ ./Source/script.cpp 2006-07-31 20:56:03.000000000 -0700
+@@ -4748,8 +4748,8 @@
{\r
struct\r
{\r
} words;\r
long long ll;\r
};\r
-@@ -6075,8 +6075,8 @@\r
+@@ -6075,8 +6075,8 @@
{\r
struct\r
{\r
} words;\r
long long ll;\r
};\r
-Index: Source/util.cpp\r
---- ../release/nsis-2.17-src/Source/util.cpp 2006-04-28 08:54:42.000000000 -0700\r
-+++ ./Source/util.cpp 2006-07-31 05:48:44.000000000 -0700\r
-@@ -312,7 +312,7 @@\r
+Index: Source/util.cpp
+--- ../release/nsis-2.17-src/Source/util.cpp 2006-04-28 08:54:42.000000000 -0700
++++ ./Source/util.cpp 2006-07-31 05:48:44.000000000 -0700
+@@ -312,7 +312,7 @@
FIX_ENDIAN_INT32_INPLACE(rdEntry.OffsetToData);\r
MY_ASSERT(!rdEntry.DirectoryOffset.DataIsDirectory, "bad resource directory");\r
\r
\r
MY_ASSERT((size_t)rdIcons - (size_t)exeHeader > exeHeaderSize, "corrupted EXE - invalid pointer");\r
\r
-@@ -325,7 +325,7 @@\r
+@@ -325,7 +325,7 @@
FIX_ENDIAN_INT32_INPLACE(icoEntry.OffsetToData);\r
\r
MY_ASSERT(!icoEntry.DirectoryOffset.DataIsDirectory, "bad resource directory");\r
\r
MY_ASSERT((size_t)rd - (size_t)exeHeader > exeHeaderSize, "corrupted EXE - invalid pointer");\r
\r
-@@ -334,7 +334,7 @@\r
+@@ -334,7 +334,7 @@
\r
MY_ASSERT(datEntry.DirectoryOffset.DataIsDirectory, "bad resource directory");\r
\r
\r
MY_ASSERT((size_t)rde - (size_t)exeHeader > exeHeaderSize, "corrupted EXE - invalid pointer");\r
\r
-@@ -355,10 +355,10 @@\r
+@@ -355,10 +355,10 @@
}\r
\r
// Set offset\r
}\r
\r
LPBYTE seeker = uninstIconData;\r
-Index: Source/writer.cpp\r
---- ../release/nsis-2.17-src/Source/writer.cpp 2006-03-11 03:13:07.000000000 -0800\r
-+++ ./Source/writer.cpp 2006-07-31 13:27:37.000000000 -0700\r
-@@ -64,7 +64,7 @@\r
+Index: Source/writer.cpp
+--- ../release/nsis-2.17-src/Source/writer.cpp 2006-03-11 03:13:07.000000000 -0800
++++ ./Source/writer.cpp 2006-07-31 13:27:37.000000000 -0700
+@@ -64,7 +64,7 @@
}\r
\r
#ifdef NSIS_CONFIG_CRC_SUPPORT\r
\r
void crc_writer_sink::write_data(const void *data, const size_t size)\r
{\r
-Index: Source/writer.h\r
---- ../release/nsis-2.17-src/Source/writer.h 2006-03-11 03:13:07.000000000 -0800\r
-+++ ./Source/writer.h 2006-07-31 13:27:58.000000000 -0700\r
-@@ -57,12 +57,12 @@\r
+Index: Source/writer.h
+--- ../release/nsis-2.17-src/Source/writer.h 2006-03-11 03:13:07.000000000 -0800
++++ ./Source/writer.h 2006-07-31 13:27:58.000000000 -0700
+@@ -57,12 +57,12 @@
#ifdef NSIS_CONFIG_CRC_SUPPORT\r
class crc_writer_sink : public writer_sink {\r
public:\r