aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2004-02-05 23:40:40 +0000
committerBen Elliston <bje@gnu.org>2004-02-05 23:40:40 +0000
commit04acd118c7759cd716d37ddf5d7b95e007578553 (patch)
tree59399a86b1d44abbe172bbf7b16df1b88fd9f089
parent3d9e2653a6e5a70bde8bc1aad6f419efd77ae939 (diff)
* lib/target.exp (prune_warnings): Add spaces where required in
NetBSD warnings. Supersedes a patch in pkgsrc's devel/dejagnu.
-rw-r--r--ChangeLog5
-rw-r--r--lib/target.exp4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4f1b488..2e9ee53 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-06 Ben Elliston <bje@wasabisystems.com>
+
+ * lib/target.exp (prune_warnings): Add spaces where required in
+ NetBSD warnings. Supersedes a patch in pkgsrc's devel/dejagnu.
+
2004-01-30 Ben Elliston <bje@wasabisystems.com>
Import orphaned patches from sources.redhat.com:
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