Branch: Tag:

2002-06-10

2002-06-10 16:55:24 by Martin Stjernholm <mast@lysator.liu.se>

Made misc_cache, which is used by the module level security system, weak to
avoid permanent memory leaks.

Rev: server/base_server/configuration.pike:1.501

5:   // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.500 2002/05/29 15:18:43 anders Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.501 2002/06/10 16:55:24 mast Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>
1001:   private static int nest = 0;      #ifdef MODULE_LEVEL_SECURITY - private mapping misc_cache=([]); + private mapping misc_cache = set_weak_flag (([]), 1);      int|mapping check_security(function|RoxenModule a, RequestID id,    void|int slevel)