stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r607789 - /incubator/stdcxx/trunk/bin/xcomp.awk
Date Tue, 01 Jan 2008 01:28:30 GMT
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  <sebor@roguewave.com>

	* 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, "{")) {



Mime
View raw message