[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-dejagnu] 1.4.1 type in target.exp
From: |
Nathan Sidwell |
Subject: |
[Bug-dejagnu] 1.4.1 type in target.exp |
Date: |
Tue, 11 Sep 2001 15:21:10 +0100 |
Hi,
there's an extra new line in lib/target.exp which causes dejagnu
to bomb out. fixed with the attached patch
nathan
--
Dr Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
'But that's a lie.' - 'Yes it is. What's your point?'
address@hidden : http://www.cs.bris.ac.uk/~nathan/ : address@hidden
*** lib/target.exp Fri Apr 20 09:06:08 2001
--- /usr/share/dejagnu/target.exp Tue Sep 11 15:16:31 2001
*************** proc prune_warnings { text } {
*** 272,279 ****
regsub -all "(^|\n)\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*is not
implemented and will always fail\[^\n\]*" $text "" text
# Cygwin cc1 warns about -fpic and -fPIC
! regsub -all ".*: warning: -f(pic|PIC) ignored for target .*" $text ""
! text
# It might be tempting to get carried away and delete blank lines, etc.
# Just delete *exactly* what we're ask to, and that's it.
--- 272,278 ----
regsub -all "(^|\n)\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*is not
implemented and will always fail\[^\n\]*" $text "" text
# Cygwin cc1 warns about -fpic and -fPIC
! regsub -all ".*: warning: -f(pic|PIC) ignored for target .*" $text "" text
# It might be tempting to get carried away and delete blank lines, etc.
# Just delete *exactly* what we're ask to, and that's it.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-dejagnu] 1.4.1 type in target.exp,
Nathan Sidwell <=