dougm       00/12/22 12:56:24

  Modified:    .        Changes
               src/modules/perl Apache.xs
  Log:
  fix $r->custom_response bug which was triggering core dumps if no
  ErrorDocuments were configured
  
  Revision  Changes    Path
  1.562     +3 -0      modperl/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/modperl/Changes,v
  retrieving revision 1.561
  retrieving revision 1.562
  diff -u -r1.561 -r1.562
  --- Changes   2000/12/22 06:02:30     1.561
  +++ Changes   2000/12/22 20:56:24     1.562
  @@ -10,6 +10,9 @@
   
   =item 1.24_02-dev
   
  +fix $r->custom_response bug which was triggering core dumps if no
  +ErrorDocuments were configured, thanks to Paul Hodges for the spot
  +
   rid PL_na usage in Symbol.xs
   
   INSTALL.win32 updates, obsolete INSTALL.activeperl removed
  
  
  
  1.118     +1 -1      modperl/src/modules/perl/Apache.xs
  
  Index: Apache.xs
  ===================================================================
  RCS file: /home/cvs/modperl/src/modules/perl/Apache.xs,v
  retrieving revision 1.117
  retrieving revision 1.118
  diff -u -r1.117 -r1.118
  --- Apache.xs 2000/12/20 08:07:35     1.117
  +++ Apache.xs 2000/12/22 20:56:24     1.118
  @@ -247,7 +247,7 @@
   
       if(conf->response_code_strings == NULL) {
           conf->response_code_strings = (char **)
  -       pcalloc(r->pool,
  +       pcalloc(perl_get_startup_pool(),
                  sizeof(*conf->response_code_strings) * 
                  RESPONSE_CODES);
       }
  
  
  

Reply via email to