From 301225562ec3ab02c2b43b82133f271d88830f12 Mon Sep 17 00:00:00 2001 From: kichik Date: Mon, 10 Feb 2003 18:43:40 +0000 Subject: [PATCH] - Disabled file validation for ExecShell too (can exec URLs) - Compiles without support for compression too - Latest compiled version git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2146 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/build.cpp | 4 +++- Source/exehead/exec.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/build.cpp b/Source/build.cpp index 37412e67..0eddd465 100644 --- a/Source/build.cpp +++ b/Source/build.cpp @@ -1775,8 +1775,10 @@ int CEXEBuild::write_output(void) INFO_MSG("Datablock optimizer saved %d bytes (~%d.%d%%).\n",db_opt_save, pc/10,pc%10); } - + +#ifdef NSIS_CONFIG_COMPRESSION_SUPPORT INFO_MSG("\nUsing %s%s compression.\n\n", compressor->GetName(), build_compress_whole?" (compress whole)":""); +#endif int total_usize=exeheader_size; diff --git a/Source/exehead/exec.c b/Source/exehead/exec.c index c65d2541..f180f474 100644 --- a/Source/exehead/exec.c +++ b/Source/exehead/exec.c @@ -810,7 +810,7 @@ static int NSISCALL ExecuteEntry(entry *entry_) { int x; char *buf0=process_string_fromparm_tobuf(0x00); - char *buf1=process_string_fromparm_tobuf(-0x11); + char *buf1=process_string_fromparm_tobuf(0x11); char *buf2=process_string_fromparm_tobuf(0x22); wsprintf(buf3,"%s %s",buf0,buf1); update_status_text_from_lang(LANG_EXECSHELL, buf3);