--- parser3/src/classes/Attic/root.C 2001/03/21 14:06:42 1.47 +++ parser3/src/classes/Attic/root.C 2001/03/24 15:57:57 1.49 @@ -3,10 +3,10 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: root.C,v 1.47 2001/03/21 14:06:42 paf Exp $ + $Id: root.C,v 1.49 2001/03/24 15:57:57 paf Exp $ */ -#include +#include "pa_config_includes.h" #include #include "pa_common.h" @@ -161,8 +161,7 @@ static void _use(Request& r, const Strin r.fail_if_junction_(true, vfile, method_name, "file name must not be junction"); - char *file=vfile.as_string().cstr(); - r.use_file(r.absolute(file)); + r.use_file(r.absolute(vfile.as_string())); } static void _for(Request& r, const String& method_name, Array *params) {