perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@hyperreal.org
Subject cvs commit: modperl/src/modules/perl ModuleConfig.xs
Date Tue, 20 Oct 1998 23:37:40 GMT
dougm       98/10/20 16:37:40

  Modified:    .        Changes ToDo
               src/modules/perl ModuleConfig.xs
  Log:
  fixed bug in Apache::ModuleConfig->getline
  
  Revision  Changes    Path
  1.176     +2 -0      modperl/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /export/home/cvs/modperl/Changes,v
  retrieving revision 1.175
  retrieving revision 1.176
  diff -u -r1.175 -r1.176
  --- Changes	1998/10/15 08:44:45	1.175
  +++ Changes	1998/10/20 23:37:38	1.176
  @@ -8,6 +8,8 @@
   
   =item 1.16_01-dev
   
  +fixed bug in Apache::ModuleConfig->getline
  +
   Segfaults when build with Ben-SSL 1.27, and trying to exec the gcache.
   [ Michael Shields <shields@crosslink.net> ]
   
  
  
  
  1.102     +3 -1      modperl/ToDo
  
  Index: ToDo
  ===================================================================
  RCS file: /export/home/cvs/modperl/ToDo,v
  retrieving revision 1.101
  retrieving revision 1.102
  diff -u -r1.101 -r1.102
  --- ToDo	1998/10/20 19:14:34	1.101
  +++ ToDo	1998/10/20 23:37:39	1.102
  @@ -3,7 +3,9 @@
                    (well, close to it anyhow)
   ---------------------------------------------------------------------------
   
  -- Apache::ModuleConfig->getline/SvSETMAGIC bug w/ 5.005_02 
  +- sync ApacheModulePerl.dsp -> .mak
  +
  +- add HTTP_OK to Apache::Constants::EXPORT_OK
   
   - <Perl>/%Apache::ReadConfig:: brokeness (My::configure() example, Eric Cholet)
   
  
  
  
  1.5       +1 -0      modperl/src/modules/perl/ModuleConfig.xs
  
  Index: ModuleConfig.xs
  ===================================================================
  RCS file: /export/home/cvs/modperl/src/modules/perl/ModuleConfig.xs,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ModuleConfig.xs	1998/08/29 01:11:48	1.4
  +++ ModuleConfig.xs	1998/10/20 23:37:40	1.5
  @@ -167,6 +167,7 @@
       RETVAL = newSV(0);
       l = (char *)palloc(parms->temp_pool, len);
       ret = !cfg_getline(l, len, cmd_infile);
  +    if(!buff) buff = sv_newmortal();
   
       switch((ix = XSANY.any_i32)) {
   	case 0:
  
  
  

Mime
View raw message