dougm       01/04/17 14:30:09

  Modified:    src/modules/perl perl_util.c
               .        Changes
  Log:
  make sure global for Apache->request is reset after configuring %ENV
  
  Revision  Changes    Path
  1.46      +2 -0      modperl/src/modules/perl/perl_util.c
  
  Index: perl_util.c
  ===================================================================
  RCS file: /home/cvs/modperl/src/modules/perl/perl_util.c,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- perl_util.c       2001/02/16 23:30:28     1.45
  +++ perl_util.c       2001/04/17 21:30:02     1.46
  @@ -610,6 +610,8 @@
   
       add_common_vars(r); 
       add_cgi_vars(r); 
  +    /* resetup global request rec, because it may set to an (invalid) subrequest by 
ap_add_cgi_vars */
  +    perl_request_rec(r);
   
       if (!table_get(envtab, "TZ")) {
        if ((tz = getenv("TZ")) != NULL) {
  
  
  
  1.582     +3 -0      modperl/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/modperl/Changes,v
  retrieving revision 1.581
  retrieving revision 1.582
  diff -u -r1.581 -r1.582
  --- Changes   2001/02/16 23:30:23     1.581
  +++ Changes   2001/04/17 21:30:06     1.582
  @@ -10,6 +10,9 @@
   
   =item 1.25_01-dev
   
  +make sure global for Apache->request is reset after configuring %ENV
  +[Gerald Richter <[EMAIL PROTECTED]>]
  +
   adjust 'U' magic functions to Perl 5.7.x-dev prototype change
   
   Put Apache's CFLAGS into AP_CFLAGS instead of CFLAGS, so that
  
  
  

Reply via email to