--- parser3/src/targets/isapi/parser3isapi.C 2024/12/06 00:40:12 1.134 +++ parser3/src/targets/isapi/parser3isapi.C 2026/09/27 19:40:38 1.138 @@ -1,11 +1,11 @@ /** @file Parser: IIS extension. - Copyright (c) 2000-2024 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2000-2026 Art. Lebedev Studio (https://www.artlebedev.com) Authors: Konstantin Morshnev , Alexandr Petrosian */ -volatile const char * IDENT_PARSER3ISAPI_C="$Id: parser3isapi.C,v 1.134 2024/12/06 00:40:12 moko Exp $"; +volatile const char * IDENT_PARSER3ISAPI_C="$Id: parser3isapi.C,v 1.138 2026/09/27 19:40:38 moko Exp $"; #ifndef _MSC_VER # error compile ISAPI module with MSVC [no urge for now to make it autoconf-ed (PAF)] @@ -57,6 +57,7 @@ const int IIS51var_count=sizeof(IIS51var char argv0[MAX_STRING]=""; const char* parser3_mode="isapi"; // $status:mode +const char *parser3_log_filespec(){ return ""; } // $status:log-filename // SAPI @@ -348,7 +349,7 @@ void real_parser_handler(SAPI_Info& SAPI // beside by binary static char beside_binary_path[MAX_STRING]; pa_strncpy(beside_binary_path, argv0, MAX_STRING); // filespec of my binary - if(!(rsplit(beside_binary_path, '/') || rsplit(beside_binary_path, '\\'))) { // strip filename + if(!rsplit(beside_binary_path, "/\\")) { // strip filename // no path, just filename beside_binary_path[0]='.'; beside_binary_path[1]=0; } @@ -379,7 +380,7 @@ static void call_real_parser_handler__su } __except ( (system_exception=GetExceptionInformation()), EXCEPTION_EXECUTE_HANDLER) { if(system_exception) if(_EXCEPTION_RECORD *er=system_exception->ExceptionRecord) - throw Exception("system", 0, "0x%08X at 0x%08X", er->ExceptionCode, er->ExceptionAddress); + throw Exception("system", 0, "0x%08X at %p", er->ExceptionCode, er->ExceptionAddress); else throw Exception("system", 0, ""); else @@ -445,4 +446,4 @@ BOOL WINAPI DllMain( ); return TRUE; -} \ No newline at end of file +}