--- parser3/src/main/pa_request.C 2003/02/17 09:56:15 1.245.2.20 +++ parser3/src/main/pa_request.C 2003/02/17 15:34:19 1.245.2.23 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_REQUEST_C="$Date: 2003/02/17 09:56:15 $"; +static const char* IDENT_REQUEST_C="$Date: 2003/02/17 15:34:19 $"; #include "pa_sapi.h" #include "pa_common.h" @@ -221,8 +221,6 @@ struct timeval mt[10]; gettimeofday(&mt[0],NULL); #endif try { - char *auto_filespec=(char *)malloc(MAX_STRING); - // loading config if(config_filespec) { StringPtr filespec(new String); @@ -313,7 +311,7 @@ gettimeofday(&mt[2],NULL); if(const Method *method=junction->method) { // preparing to pass parameters to // @postprocess[data] - VMethodFrame frame(pool(), method->name, *junction, 0/*no parent*/); + VMethodFrame frame(pool(), method->name, *junction, 0/*no parent*/); frame.ref(); frame.set_self(main_class); frame.store_param(body_vstring_before_post_process); @@ -411,7 +409,7 @@ t[9]-t[3] if(const Method *method=junction->method) { // preparing to pass parameters to // @unhandled_exception[exception;stack] - VMethodFrame frame(pool(), method->name, *junction, 0/*no caller*/); + VMethodFrame frame(pool(), method->name, *junction, 0/*no caller*/); frame.ref(); frame.set_self(main_class); // $exception @@ -563,7 +561,7 @@ VStateless_classPtr Request::use_buf(VSt // locate and execute possible @auto[] static execute_nonvirtual_method(cclass, auto_method_name, vfilespec, - 0/*no result needed*/); + false/*no result needed*/); return VStateless_classPtr(&cclass); }