From: Eric Covener Date: Thu, 23 Apr 2009 17:45:41 +0000 (+0000) Subject: Pass the $@ array and not the flattened version of it in non-SysV mode: X-Git-Tag: 2.3.3~695 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49c61ba5bc93790c4b6dea424f04dc8fa3affff5;p=apache 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' git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@767994 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 71f30f8c10..f9e0fa4aa8 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,10 @@ Changes with Apache 2.3.3 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 ] diff --git a/support/apachectl.in b/support/apachectl.in index 0bb7ce5e49..3281c2e6cd 100644 --- a/support/apachectl.in +++ b/support/apachectl.in @@ -98,7 +98,7 @@ fullstatus) $LYNX $STATUSURL ;; *) - $HTTPD $ARGV + $HTTPD "$@" ERROR=$? esac