From stdcxx-commits-return-2268-apmail-incubator-stdcxx-commits-archive=incubator.apache.org@incubator.apache.org Tue Jan 01 01:28:51 2008 Return-Path: Delivered-To: apmail-incubator-stdcxx-commits-archive@www.apache.org Received: (qmail 17617 invoked from network); 1 Jan 2008 01:28:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jan 2008 01:28:51 -0000 Received: (qmail 77837 invoked by uid 500); 1 Jan 2008 01:28:40 -0000 Delivered-To: apmail-incubator-stdcxx-commits-archive@incubator.apache.org Received: (qmail 77826 invoked by uid 500); 1 Jan 2008 01:28:40 -0000 Mailing-List: contact stdcxx-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-commits@incubator.apache.org Received: (qmail 77815 invoked by uid 99); 1 Jan 2008 01:28:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2007 17:28:40 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jan 2008 01:28:26 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2D20E1A984E; Mon, 31 Dec 2007 17:28:31 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r607789 - /incubator/stdcxx/trunk/bin/xcomp.awk Date: Tue, 01 Jan 2008 01:28:30 -0000 To: stdcxx-commits@incubator.apache.org From: sebor@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080101012831.2D20E1A984E@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebor Date: Mon Dec 31 17:28:29 2007 New Revision: 607789 URL: http://svn.apache.org/viewvc?rev=607789&view=rev Log: 2007-12-31 Martin Sebor * xcomp.awk: Escaped the question mark in invocation of gsub() to silence the FreeBSD error: illegal primary in regular expression. Modified: incubator/stdcxx/trunk/bin/xcomp.awk Modified: incubator/stdcxx/trunk/bin/xcomp.awk URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/bin/xcomp.awk?rev=607789&r1=607788&r2=607789&view=diff ============================================================================== --- incubator/stdcxx/trunk/bin/xcomp.awk (original) +++ incubator/stdcxx/trunk/bin/xcomp.awk Mon Dec 31 17:28:29 2007 @@ -189,7 +189,7 @@ # question marks with "." gsub("\\.", "\\.", pattern) gsub("\\*", ".*", pattern) - gsub("?", ".", pattern) + gsub("\\?", ".", pattern) # if patter contains an open brace expand it using the shell if (0 < index(pattern, "{")) {