--- parser3/src/classes/file.C 2002/03/25 11:55:26 1.73 +++ parser3/src/classes/file.C 2002/04/15 12:03:31 1.77 @@ -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.73 2002/03/25 11:55:26 paf Exp $ + $Id: file.C,v 1.77 2002/04/15 12:03:31 paf Exp $ */ #include "pa_config_includes.h" @@ -85,18 +85,18 @@ static void _find(Request& r, const Stri // passed file name simply exists in current dir if(file_readable(r.absolute(lfile_name))) { - r.write_no_lang(*new(pool) VString(lfile_name)); + r.write_no_lang(lfile_name); return; } // scan .. dirs for result for(int i=0; imid(erroffset, regexp->size()), "regular expression syntax error - %s", errptr); @@ -342,7 +342,7 @@ static void _list(Request& r, const Stri suits=false; else if(exec_result<0) { (*pcre_free)(regexp_code); - throw Exception(0, 0, + throw Exception(0, regexp, "regular expression execute (%d)", exec_result); @@ -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(*info.body_code)); + info.r->write_assign_lang(info.r->process_to_string(*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"));