~hww3/caudium

e14ed026e60e3dfe3114adf4fd6b5884a710ae86 — William Welliver 2 years ago cd8eab0
Disable caching module definitions, as it is broken on Pike 8.0 and
probably not worth the added complexity.
1 files changed, 6 insertions(+), 1 deletions(-)

M server/base_server/configuration.pike
M server/base_server/configuration.pike => server/base_server/configuration.pike +6 -1
@@ 3356,11 3356,14 @@ int load_module(string module_file)
  perror("\nLoading " + module_file + "... ");
#endif
 
#if 0
  if(prog = cache_lookup("modules", module_file)) {
    err = catch {
      obj = prog(this_object());
    };
  } else {
  } else 
#endif /* 0 */
  {
    object e = ErrorContainer();
    master()->set_inhibit_compile_errors(e);
    err = catch {


@@ 3469,7 3472,9 @@ int load_module(string module_file)
  perror(" Done.\n");
#endif
#endif
#if 0
  cache_set("modules", module_file, modules[module_file]["program"], -1); // Chanhed to store cached module for ever.
#endif /* 0 */
  return 1;
}