--- parser3/src/classes/op.C 2002/06/20 14:50:22 1.97 +++ parser3/src/classes/op.C 2002/08/07 11:25:36 1.100 @@ -3,10 +3,10 @@ Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) - - $Id: op.C,v 1.97 2002/06/20 14:50:22 paf Exp $ */ +static const char* IDENT_OP_C="$Date: 2002/08/07 11:25:36 $"; + #include "classes.h" #include "pa_common.h" #include "pa_request.h" @@ -404,7 +404,8 @@ const String *locked_process_and_cache_p false/*do_append*/, false/*block*/, false/*fail on lock problem*/) ? info.evaluated_body: 0; - if(data.expires==0) + time_t now=time(0); + if(data.expires<=now) cache_delete(file_spec); return result; }