--- parser3/src/classes/file.C 2002/04/15 11:34:24 1.76 +++ parser3/src/classes/file.C 2002/04/16 09:38:49 1.79 @@ -4,7 +4,7 @@ Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) - $Id: file.C,v 1.76 2002/04/15 11:34:24 paf Exp $ + $Id: file.C,v 1.79 2002/04/16 09:38:49 paf Exp $ */ #include "pa_config_includes.h" @@ -104,7 +104,7 @@ static void _find(Request& r, const Stri // not found if(params->size()==2) { Value& not_found_code=params->as_junction(1, "not-found param must be code"); - r.write_pass_lang(r.process_to_value(not_found_code)); + r.write_pass_lang(r.process(not_found_code)); } } @@ -254,7 +254,7 @@ static void _exec_cgi(Request& r, const delim_size=0; // calm down, compiler throw Exception(0, &method_name, - "output does not contain CGI header; exit code=%d; outsize=%u; out: \"%s\"; errsize=%u; err: \"%s\"", + "output does not contain CGI header; exit status=%d; stdoutsize=%u; stdout: \"%s\"; stderrsize=%u; stderr: \"%s\"", status, (uint)out.size(), out.cstr(), (uint)err.size(), err.cstr()); @@ -381,7 +381,7 @@ static void lock_execute_body(int , void Lock_execute_body_info& info=*static_cast(context); // execute body - info.r->write_assign_lang(info.r->process_to_string(*info.body_code)); + info.r->write_assign_lang(info.r->process(*info.body_code)); }; static void _lock(Request& r, const String& method_name, MethodParams *params) { const String& file_spec=r.absolute(params->as_string(0, "file name must be string"));