Minor cleanups.

This commit is contained in:
Markus F.X.J. Oberhumer
2006-06-29 14:38:18 +02:00
parent 7b77491c06
commit 8882192fac
3 changed files with 2 additions and 10 deletions
+1 -3
View File
@@ -294,10 +294,8 @@ void PackDjgpp2::pack(OutputFile *fo)
ft.addvalue = text->vaddr - hdrsize;
// compress
upx_compress_config_t cconf; cconf.reset();
#if 1
// limit stack size needed for runtime decompression
cconf.conf_lzma.max_num_probs = 1846 + (768 << 4); // ~28 kB stack
#endif
cconf.conf_lzma.max_num_probs = 1846 + (768 << 4); // ushort: ~28KB stack
compressWithFilters(&ft, 512, 0, NULL, &cconf);
// patch coff header #2