Commit 6d0a5fd2 authored by Cliff Woolley's avatar Cliff Woolley
Browse files

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


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95530 13f79535-47bb-0310-9956-ffa450edef68
parent 38a585c5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
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]
+2 −2
Original line number Diff line number Diff line
@@ -269,7 +269,7 @@ sub get_vars {
                ? $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 @@ sub get_vars {
            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;
            }