Branch: Tag:

2001-11-23

2001-11-23 21:29:42 by Martin Stjernholm <mast@lysator.liu.se>

Use RXML_CONTEXT->set_misc to change values in RXML_CONTEXT->misc, to work
correctly when cached.

Rev: server/modules/compat/compat.pike:1.68
Rev: server/modules/tags/rxmlparse.pike:1.68
Rev: server/modules/tags/rxmltags.pike:1.328
Rev: server/modules/tags/session_tag.pike:1.14
Rev: server/modules/tags/wizard_tag.pike:1.31
Rev: server/modules/tags/wizz.pike:1.7

2:   // Released under GPL   // made by Per Hedbor    - constant cvs_version = "$Id: wizard_tag.pike,v 1.30 2001/09/03 18:52:22 nilsson Exp $"; + constant cvs_version = "$Id: wizard_tag.pike,v 1.31 2001/11/23 21:29:42 mast Exp $";   constant thread_safe=1;   #include <module.h>   inherit "module";
147:       if(mappingp(res))    { -  id->misc->defines[" _error"] = res->error; -  id->misc->defines[" _extra_heads"] = res->extra_heads; +  RXML_CONTEXT->set_misc (" _error", res->error); +  RXML_CONTEXT->set_misc (" _extra_heads", res->extra_heads);    return res->data||(res->file&&res->file->read())||"";    }    return res;