httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Bloom <...@ntrnet.net>
Subject Re: [PATCH] make apxs -q work again
Date Wed, 07 Aug 2002 14:56:03 GMT

I don't believe that this is the correct patch.  The -q option is really
meant to be used to assign a variable in a Makefile, so adding the \n
would most likely be a mistake.

Ryan

On Wed, 7 Aug 2002 thom@planetarytramp.net wrote:

> apxs lost the newline at the end of print "$result", so that apxs -q doesn't
> return anything
> Cheers,
> -Thom
> 
> Index: support/apxs.in
> ===================================================================
> RCS file: /home/cvspublic/httpd-2.0/support/apxs.in,v
> retrieving revision 1.43
> diff -u -u -r1.43 apxs.in
> --- support/apxs.in     19 Jun 2002 20:44:45 -0000      1.43
> +++ support/apxs.in     7 Aug 2002 12:02:53 -0000
> @@ -358,7 +358,7 @@
>      ##  QUERY INFORMATION 
>      ##
>      my $result = get_vars(@args);
> -    print "$result";
> +    print "$result\n";
>  }
>  
>  if ($opt_c) {
> 

-- 

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
550 Jean St
Oakland CA 94610
-------------------------------------------------------------------------------


Mime
View raw message