aboutsummaryrefslogtreecommitdiff
path: root/lib/target.exp
diff options
context:
space:
mode:
authorRob Savoye <rob@welcomehome.org>2005-03-23 02:07:35 +0000
committerRob Savoye <rob@welcomehome.org>2005-03-23 02:07:35 +0000
commit46b8c1dd80729e2f07c7065ab824bfedc3963c10 (patch)
treeeeaaeecd8a20c90483fd0c8b7938d1130aba09db /lib/target.exp
parentcb7e32ad9124de522e154d00213b177997791b81 (diff)
downloaddejagnu-46b8c1dd80729e2f07c7065ab824bfedc3963c10.zip
dejagnu-46b8c1dd80729e2f07c7065ab824bfedc3963c10.tar.gz
dejagnu-46b8c1dd80729e2f07c7065ab824bfedc3963c10.tar.bz2
Adjust OpenBSD warning in prune_warnings.
Diffstat (limited to 'lib/target.exp')
-rw-r--r--lib/target.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/target.exp b/lib/target.exp
index 8dca7ce..5f20194 100644
--- a/lib/target.exp
+++ b/lib/target.exp
@@ -267,7 +267,7 @@ proc prune_warnings { text } {
regsub -all "(^|\n)(\[^\n\]*: warning: reference to compatibility glob\[^\n\]*\n?)" $text "\\1" text
# Or the OpenBSD ones.
- regsub -all "(^|\n)(\[^\n\]*: warning: \[^\n\]* is often misused, please use \[^\n\]*\n?)" $text "\\1" text
+i regsub -all "(^|\n)(\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*warning: \[^\n\]* is often misused, please use \[^\n\]*\n?)" $text "\\1" text
# GNU ld warns about functions marked as dangerous in GNU libc.
regsub -all "(^|\n)\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*is dangerous\[^\n\]*" $text "" text