aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRob Savoye <rob@welcomehome.org>2005-04-28 17:08:40 +0000
committerRob Savoye <rob@welcomehome.org>2005-04-28 17:08:40 +0000
commitc73ac7ccb5bfb6d50f0b5141f03db8659704cc88 (patch)
tree2fa5b2eb47b3f20ff450306556bcc2ea2570eb90 /lib
parent8139152f1c752535c7b40971f3aaf495d1b7a910 (diff)
downloaddejagnu-c73ac7ccb5bfb6d50f0b5141f03db8659704cc88.zip
dejagnu-c73ac7ccb5bfb6d50f0b5141f03db8659704cc88.tar.gz
dejagnu-c73ac7ccb5bfb6d50f0b5141f03db8659704cc88.tar.bz2
2005-04-28 Mark Kettenis <kettenis@gnu.org>
* lib/target.exp (prune_warnings): Add a few more linker warning patterns for OpenBSD.
Diffstat (limited to 'lib')
-rw-r--r--lib/target.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/target.exp b/lib/target.exp
index 9beb7f7..c86fc0c 100644
--- a/lib/target.exp
+++ b/lib/target.exp
@@ -267,7 +267,8 @@ 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\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*warning: \[^\n\]* is often misused, please use \[^\n\]*\n?)" $text "\\1" text
+ regsub -all "(^|\n)(\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*warning: \[^\n\]* is (often|almost always) misused, please use \[^\n\]*\n?)" $text "\\1" text
+ regsub -all "(^|\n)(\[^\n\]*: warning: \[^\n\]* is (often|almost always) 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