--- parser3/src/classes/file.C 2003/02/04 14:12:41 1.107.2.5 +++ parser3/src/classes/file.C 2003/02/04 15:15:01 1.107.2.6 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_FILE_C="$Date: 2003/02/04 14:12:41 $"; +static const char* IDENT_FILE_C="$Date: 2003/02/04 15:15:01 $"; #include "pa_config_includes.h" @@ -289,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"); } } @@ -337,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, @@ -422,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); @@ -448,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;