[ltrace-commits] 01/07: Ignore GCC notes in ltrace_compile

Petr Machata pmachata-guest at moszumanska.debian.org
Fri Jan 16 19:32:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

pmachata-guest pushed a commit to branch master
in repository ltrace.

commit acd9438f63de3bd5459d82fa30ef31f14c2b7950
Author: Petr Machata <pmachata at redhat.com>
Date:   Fri Jan 16 14:54:38 2015 +0100

    Ignore GCC notes in ltrace_compile
    
    - A patch by Thierry Fauck <thierry at linux.vnet.ibm.com>
---
 testsuite/lib/ltrace.exp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testsuite/lib/ltrace.exp b/testsuite/lib/ltrace.exp
index a717cd3..709780e 100644
--- a/testsuite/lib/ltrace.exp
+++ b/testsuite/lib/ltrace.exp
@@ -124,6 +124,7 @@ proc ltrace_compile {source dest type options} {
 
     set result [target_compile $source $dest $type $options];
     verbose "result is $result"
+    regsub ".* note: .*$" "$result" "" result;
     regsub "\[\r\n\]*$" "$result" "" result;
     regsub "^\[\r\n\]*" "$result" "" result;
     if { $result != "" && [lsearch $options quiet] == -1} {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/ltrace.git



More information about the ltrace-commits mailing list