From commits-return-2583-apmail-stdcxx-commits-archive=stdcxx.apache.org@stdcxx.apache.org Mon Mar 24 18:07:13 2008 Return-Path: Delivered-To: apmail-stdcxx-commits-archive@www.apache.org Received: (qmail 48545 invoked from network); 24 Mar 2008 18:07:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Mar 2008 18:07:12 -0000 Received: (qmail 92023 invoked by uid 500); 24 Mar 2008 18:07:11 -0000 Delivered-To: apmail-stdcxx-commits-archive@stdcxx.apache.org Received: (qmail 92002 invoked by uid 500); 24 Mar 2008 18:07:11 -0000 Mailing-List: contact commits-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list commits@stdcxx.apache.org Received: (qmail 91993 invoked by uid 99); 24 Mar 2008 18:07:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Mar 2008 11:07:11 -0700 X-ASF-Spam-Status: No, hits=-2000.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; Mon, 24 Mar 2008 18:06:29 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B06211A9832; Mon, 24 Mar 2008 11:06:49 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r640489 - /stdcxx/trunk/bin/xcomp.awk Date: Mon, 24 Mar 2008 18:06:49 -0000 To: commits@stdcxx.apache.org From: sebor@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080324180649.B06211A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebor Date: Mon Mar 24 11:06:32 2008 New Revision: 640489 URL: http://svn.apache.org/viewvc?rev=640489&view=rev Log: 2008-03-24 Martin Sebor * bin/xcomp.awk (print_section): Consistently prepended "../" to the log file name since build logs are stored in the parent directory of the one that contains the cross-build results. Modified: stdcxx/trunk/bin/xcomp.awk Modified: stdcxx/trunk/bin/xcomp.awk URL: http://svn.apache.org/viewvc/stdcxx/trunk/bin/xcomp.awk?rev=640489&r1=640488&r2=640489&view=diff ============================================================================== --- stdcxx/trunk/bin/xcomp.awk (original) +++ stdcxx/trunk/bin/xcomp.awk Mon Mar 24 11:06:32 2008 @@ -1233,20 +1233,11 @@ logname = logfnames [i] - # strip the leading directory prefix, if any - pos = match(logname, "/[^/]+$") - if (0 < pos) - loggzfname = substr(logname, pos + 1) - - # insert the .gz suffix before the final .txt suffix - # to form the name of the original gzipped log file - # prepend "../" to the file name since the logs are - # in the parent directory - loggzfname = substr(loggzfname, 1, index(loggzfname, ".txt") - 1) - loggzfname = "../" loggzfname ".gz.txt" + # strip directory prefix from file name + loghref = get_gzlogfname(logname) - colnos = colnos " " - colnos = colnos "" i "" + colnos = colnos " " + colnos = colnos "" i "" buildtype = get_buildtype(logname) buildmode = buildmodes [buildtype] @@ -1742,7 +1733,7 @@ # replace the trailing .txt suffix with .gz.txt sub("\\.txt$", ".gz.txt", fref) - return fref + return "../" fref }