httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r767994 - in /httpd/httpd/trunk: CHANGES support/apachectl.in
Date Thu, 23 Apr 2009 17:45:41 GMT
Author: covener
Date: Thu Apr 23 17:45:41 2009
New Revision: 767994

URL: http://svn.apache.org/viewvc?rev=767994&view=rev
Log:
Pass the $@ array and not the flattened version of it in non-SysV mode:

$ bash -x bin/apachectl -t -c "foo bar"
before: +bin/httpd -t -c foo bar
after:  +bin/httpd -t -c 'foo bar'


Modified:
    httpd/httpd/trunk/CHANGES
    httpd/httpd/trunk/support/apachectl.in

Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CHANGES?rev=767994&r1=767993&r2=767994&view=diff
==============================================================================
--- httpd/httpd/trunk/CHANGES [utf-8] (original)
+++ httpd/httpd/trunk/CHANGES [utf-8] Thu Apr 23 17:45:41 2009
@@ -6,6 +6,10 @@
      mod_proxy_ajp: Avoid delivering content from a previous request which
      failed to send a request body. PR 46949 [Ruediger Pluem]
 
+  *) apachectl: When passing through arguments to httpd in
+     non-SysV mode, use the "$@" syntax to preserve arguments.
+     [Eric Covener]
+
   *) mod_dbd: add DBDInitSQL directive to enable SQL statements to
      be run when a connection is opened.  PR 46827
      [Marko Kevac <mkevac gmail.com>]

Modified: httpd/httpd/trunk/support/apachectl.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/apachectl.in?rev=767994&r1=767993&r2=767994&view=diff
==============================================================================
--- httpd/httpd/trunk/support/apachectl.in (original)
+++ httpd/httpd/trunk/support/apachectl.in Thu Apr 23 17:45:41 2009
@@ -98,7 +98,7 @@
     $LYNX $STATUSURL
     ;;
 *)
-    $HTTPD $ARGV
+    $HTTPD "$@"
     ERROR=$?
 esac
 



Mime
View raw message