aboutsummaryrefslogtreecommitdiff
path: root/lib/target.exp
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2004-02-05 23:41:21 +0000
committerBen Elliston <bje@gnu.org>2004-02-05 23:41:21 +0000
commitbe2ee77ded980a22f04a1eddb035805b31da0aef (patch)
tree0f36bb60d1a0b6b161c1a2befc759361c21faac4 /lib/target.exp
parent950f28851c3a522b9657e16c124cfec7db673e62 (diff)
downloaddejagnu-be2ee77ded980a22f04a1eddb035805b31da0aef.zip
dejagnu-be2ee77ded980a22f04a1eddb035805b31da0aef.tar.gz
dejagnu-be2ee77ded980a22f04a1eddb035805b31da0aef.tar.bz2
* lib/target.exp (prune_warnings): Add spaces where required in
NetBSD warnings. Supersedes a patch in pkgsrc's devel/dejagnu.
Diffstat (limited to 'lib/target.exp')
-rw-r--r--lib/target.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/target.exp b/lib/target.exp
index 950f9c8..80edcd0 100644
--- a/lib/target.exp
+++ b/lib/target.exp
@@ -262,8 +262,8 @@ proc prune_warnings { text } {
regsub -all "(^|\n)(ld(|32|64): Giving up.*Use -wall\[^\n\]*\n?)+" $text "\\1" text
# Or the NetBSD ones.
- regsub -all "(^|\n)(\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*warning:this program uses \[^\n\]*)" $text "\\1" text
- regsub -all "(^|\n)(\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*warning:reference to compatibility \[^\n\]*)" $text "\\1" text
+ regsub -all "(^|\n)(\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*warning: this program uses \[^\n\]*)" $text "\\1" text
+ regsub -all "(^|\n)(\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*warning: reference to compatibility \[^\n\]*)" $text "\\1" text
regsub -all "(^|\n)(\[^\n\]*:\[0-9\]+: warning: \[^\n\]* possibly used unsafely, use \[^\n\]*\n?)" $text "\\1" text
regsub -all "(^|\n)(\[^\n\]*: warning: reference to compatibility glob\[^\n\]*\n?)" $text "\\1" text