httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: httpd-2.0/support apxs.in
Date Wed, 05 Jun 2002 19:08:55 GMT
jwoolley    2002/06/05 12:08:55

  Modified:    .        CHANGES
               support  apxs.in
  Log:
  Get rid of some uninitialized value errors with apxs -q.
  
  Submitted by:	Stas Bekman <stas@stason.org>
  Reviewed by:	Heinrich Götzger <goetzger@gmx.net>, Cliff Woolley
  
  Revision  Changes    Path
  1.810     +3 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.809
  retrieving revision 1.810
  diff -u -d -u -r1.809 -r1.810
  --- CHANGES	5 Jun 2002 11:59:25 -0000	1.809
  +++ CHANGES	5 Jun 2002 19:08:54 -0000	1.810
  @@ -1,5 +1,8 @@
   Changes with Apache 2.0.37
   
  +  *) Get rid of uninitialized value errors with "apxs -q" on certain
  +     variables.  [Stas Bekman <stas@stason.org>]
  +
     *) Fix apxs to allow it to work when the build directory is somewhere
        besides server-root/build.  PR 8453  
        [Jeff Trawick and a host of others]
  
  
  
  1.40      +2 -2      httpd-2.0/support/apxs.in
  
  Index: apxs.in
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/support/apxs.in,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -d -u -r1.39 -r1.40
  --- apxs.in	5 Jun 2002 11:59:26 -0000	1.39
  +++ apxs.in	5 Jun 2002 19:08:55 -0000	1.40
  @@ -269,7 +269,7 @@
                   ? $config_vars{$arg}
                   : $config_vars{lc $arg};
               $val =~ s/[()]//g;
  -            $result .= eval "qq($val)";
  +            $result .= eval "qq($val)" if defined $val;
               $result .= ";;";
               $ok = 1;
           }
  @@ -277,7 +277,7 @@
               if (exists $internal_vars{$arg} or exists $internal_vars{lc $arg}) {
                   my $val = exists $internal_vars{$arg} ? $arg : lc $arg;
                   $val = eval "\$CFG_$val";
  -                $result .= eval "qq($val)";
  +                $result .= eval "qq($val)" if defined $val;
                   $result .= ";;";
                   $ok = 1;
               }
  
  
  

Mime
View raw message