--- parser3/src/targets/cgi/parser3.C 2003/11/06 09:56:17 1.220 +++ parser3/src/targets/cgi/parser3.C 2004/03/23 09:42:14 1.224 @@ -1,11 +1,11 @@ /** @file Parser: scripting and CGI main. - Copyright(c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com) + Copyright(c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_PARSER3_C="$Date: 2003/11/06 09:56:17 $"; +static const char * const IDENT_PARSER3_C="$Date: 2004/03/23 09:42:14 $"; #include "pa_config_includes.h" @@ -20,8 +20,6 @@ static const char* IDENT_PARSER3_C="$Dat #include "pa_socks.h" #include "pa_version.h" - - #ifdef WIN32 # include # include "getopt.h" @@ -384,8 +382,7 @@ static void real_parser_handler(const ch SAPI::die("Execution canceled"); // prepare to process request - Request request(SAPI_info, - request_info, + Request request(SAPI_info, request_info, cgi ? String::Language(String::L_HTML|String::L_OPTIMIZE_BIT) : String::L_AS_IS, true /* status_allowed */); @@ -494,7 +491,7 @@ static void call_real_parser_handler__do static void usage(const char* program) { printf( - "Parser/%s Copyright(c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com)\n" + "Parser/%s Copyright(c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com)\n" "Author: Alexandr Petrosian (http://paf.design.ru)\n" "\n" "Usage: %s [options] file\n" @@ -510,6 +507,7 @@ static void usage(const char* program) { } int main(int argc, char *argv[]) { + //_asm int 3; GC_java_finalization=0; #ifndef PA_DEBUG_DISABLE_GC