Branch: Tag:

2003-03-24

2003-03-24 18:07:38 by Martin Stjernholm <mast@lysator.liu.se>

Fixed RequestID.set_output_charset to work properly in cached p-code.
This fixes the problem where the charset set with <charset out=...>
didn't get installed correctly in cached entries.

Rev: server/base_server/prototypes.pike:1.57

5:   #include <config.h>   #include <module.h>   #include <module_constants.h> - constant cvs_version="$Id: prototypes.pike,v 1.56 2003/02/19 10:14:55 jonasw Exp $"; + constant cvs_version="$Id: prototypes.pike,v 1.57 2003/03/24 18:07:38 mast Exp $";      class Variable   {
800:       void set_output_charset( string|function to, int|void mode )    { +  if (object/*(RXML.Context)*/ ctx = RXML_CONTEXT) +  ctx->add_p_code_callback ("set_output_charset", to, mode); +     if( search( output_charset, to ) != -1 ) // Already done.    return;