stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r637303 - /stdcxx/trunk/bin/xcomp.awk
Date Fri, 14 Mar 2008 23:33:39 GMT
Author: sebor
Date: Fri Mar 14 16:33:37 2008
New Revision: 637303

URL: http://svn.apache.org/viewvc?rev=637303&view=rev
Log:
2008-03-14  Martin Sebor  <sebor@roguewave.com>

	* bin/xcomp.awk (get_gzlogfname): Replaced .txt suffix with
	the hopefully now correct .gz.txt.

Modified:
    stdcxx/trunk/bin/xcomp.awk

Modified: stdcxx/trunk/bin/xcomp.awk
URL: http://svn.apache.org/viewvc/stdcxx/trunk/bin/xcomp.awk?rev=637303&r1=637302&r2=637303&view=diff
==============================================================================
--- stdcxx/trunk/bin/xcomp.awk (original)
+++ stdcxx/trunk/bin/xcomp.awk Fri Mar 14 16:33:37 2008
@@ -1737,7 +1737,8 @@
     if (0 < pos)
         fref = substr(fref, 1, pos - 1)
 
-    fref = fref ".gz"
+    # replace the trailing .txt suffix with .gz.txt
+    sub("\\.txt$", ".gz.txt", fref)
 
     return fref
 }



Mime
View raw message