Branch: Tag:

1998-02-27

1998-02-27 05:19:22 by Per Hedbor <ph@opera.com>

NO_MODULE_SECURITY works again, </end> tags in graphics text optimized 10 times

Rev: server/base_server/configuration.pike:1.102
Rev: server/config_actions/resolv.pike:1.7
Rev: server/etc/include/config.h:1.11
Rev: server/modules/graphics/graphic_text.pike:1.107
Rev: server/modules/tags/htmlparse.pike:1.82

1: - string cvs_version = "$Id: configuration.pike,v 1.101 1998/02/24 22:27:24 per Exp $"; + string cvs_version = "$Id: configuration.pike,v 1.102 1998/02/27 05:19:18 per Exp $";   #include <module.h>   #include <roxen.h>   
1177:    loc = tmp[0];    if(!search(file, loc))    { - #ifdef MODULE_LEVEL_SECURITY +     TRACE_ENTER("Location Module ["+loc+"] ", tmp[1]); -  + #ifdef MODULE_LEVEL_SECURITY    if(tmp2 = check_security(tmp[1], id, slevel))    if(intp(tmp2))    {
1204:    }    else    { -  int oslevel = slevel; +    #ifdef MODULE_LEVEL_SECURITY -  +  int oslevel = slevel;    slevel = misc_cache[ tmp[1] ][1];// misc_cache from check_security   #endif    if(objectp(fid))
1565:   // this is not as trivial as it sounds. Consider gtext. :-)   public array open_file(string fname, string mode, object id)   { -  werror("open_file "+fname+" as "+mode+"\n"); +     object oc = id->conf;    string oq = id->not_query;    function funp;