--- parser3/src/classes/file.C 2003/02/04 14:04:45 1.107.2.4 +++ parser3/src/classes/file.C 2003/02/04 15:15:01 1.107.2.6 @@ -5,13 +5,15 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_FILE_C="$Date: 2003/02/04 14:04:45 $"; +static const char* IDENT_FILE_C="$Date: 2003/02/04 15:15:01 $"; #include "pa_config_includes.h" #include "pcre.h" #include "classes.h" +#include "pa_vmethod_frame.h" + #include "pa_request.h" #include "pa_vfile.h" #include "pa_table.h" @@ -287,7 +289,7 @@ static void _exec_cgi(Request& r, String "$.stdin[assigned]", 0); else throw Exception("parser.runtime", - &method_name, + method_name, STDIN_EXEC_PARAM_NAME " parameter must be string or file"); } } @@ -335,7 +337,7 @@ static void _exec_cgi(Request& r, String default: // 00 unix_header_break=false; // calm down, compiler throw Exception(0, - &method_name, + method_name, "output does not contain CGI header; " "exit status=%d; stdoutsize=%u; stdout: \"%s\"; stderrsize=%u; stderr: \"%s\"", status, @@ -420,7 +422,7 @@ static void _list(Request& r, StringPtr Array& columns=*new(pool) Array(pool); columns+=new(pool) String(pool, "name"); - Table& table=*new(pool) Table(pool, &method_name, &columns); + Table& table=*new(pool) Table(pool, method_name, &columns); LOAD_DIR(absolute_path_cstr, size_t file_name_size=strlen(ffblk.ff_name); @@ -446,7 +448,7 @@ static void _list(Request& r, StringPtr memcpy(file_name_cstr, ffblk.ff_name, file_name_size); String &file_name=*new(pool) String(pool); file_name.APPEND_TAINTED(file_name_cstr, file_name_size, - method_name.origin().file, method_name.origin().line); + method_name->origin().file, method_name->origin().line); Array& row=*new(pool) Array(pool); row+=&file_name;