Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 47141 invoked from network); 2 Jun 2010 17:56:13 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Jun 2010 17:56:13 -0000 Received: (qmail 90184 invoked by uid 500); 2 Jun 2010 17:56:12 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 90128 invoked by uid 500); 2 Jun 2010 17:56:12 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 90121 invoked by uid 99); 2 Jun 2010 17:56:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jun 2010 17:56:12 +0000 X-ASF-Spam-Status: No, hits=-1452.6 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jun 2010 17:56:11 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C0A4E238890D; Wed, 2 Jun 2010 17:55:51 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r950693 - /httpd/mod_fcgid/trunk/configure.apxs Date: Wed, 02 Jun 2010 17:55:51 -0000 To: cvs@httpd.apache.org From: covener@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100602175551.C0A4E238890D@eris.apache.org> Author: covener Date: Wed Jun 2 17:55:51 2010 New Revision: 950693 URL: http://svn.apache.org/viewvc?rev=950693&view=rev Log: instead of adding another escape, protect the backrefs as they're passed to sed. /bin/dash on debian/ubuntu was getting 0x01 instead of the backref passed to sed: > fcgid_config.h:4:9: error: macro names must be identifiers Tested on /bin/dash, /bin/bash on Linux and /bin/sh, /usr/xpg4/bin/sh on Solaris. Submitted by: Eric Covener, Igor Galić Reviewed by: Eric Covener Modified: httpd/mod_fcgid/trunk/configure.apxs Modified: httpd/mod_fcgid/trunk/configure.apxs URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/configure.apxs?rev=950693&r1=950692&r2=950693&view=diff ============================================================================== --- httpd/mod_fcgid/trunk/configure.apxs (original) +++ httpd/mod_fcgid/trunk/configure.apxs Wed Jun 2 17:55:51 2010 @@ -104,8 +104,7 @@ cd .. if test "x$found_features" = "x"; then cp modules/fcgid/fcgid_config.h.in modules/fcgid/fcgid_config.h else - found_features="`echo \"$found_features\" | sed -e '#s*/#*\\$/#g;'`" - eval sed $found_features < modules/fcgid/fcgid_config.h.in \ + eval sed "$found_features" < modules/fcgid/fcgid_config.h.in \ > modules/fcgid/fcgid_config.h fi