--- parser3/src/main/execute.C 2005/08/08 08:41:51 1.312 +++ parser3/src/main/execute.C 2005/11/24 14:00:34 1.314 @@ -1,11 +1,11 @@ /** @file Parser: executor part of request class. - Copyright (c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_EXECUTE_C="$Date: 2005/08/08 08:41:51 $"; +static const char * const IDENT_EXECUTE_C="$Date: 2005/11/24 14:00:34 $"; #include "pa_opcode.h" #include "pa_array.h" @@ -548,14 +548,14 @@ void Request::execute(ArrayOperation& op case OP_FEXISTS: { Value& a=stack.pop().value(); - Value& value=*new VBool(file_readable(absolute(a.as_string()))); + Value& value=*new VBool(file_exist(absolute(a.as_string()))); stack.push(value); break; } case OP_DEXISTS: { Value& a=stack.pop().value(); - Value& value=*new VBool(dir_readable(absolute(a.as_string()))); + Value& value=*new VBool(dir_exists(absolute(a.as_string()))); stack.push(value); break; }