diff options
author | Rob Savoye <rob@welcomehome.org> | 2005-03-29 16:13:56 +0000 |
---|---|---|
committer | Rob Savoye <rob@welcomehome.org> | 2005-03-29 16:13:56 +0000 |
commit | 8139152f1c752535c7b40971f3aaf495d1b7a910 (patch) | |
tree | 4e0b988c93063ea050693c56bb856189eb2af97f | |
parent | 46b8c1dd80729e2f07c7065ab824bfedc3963c10 (diff) | |
download | dejagnu-8139152f1c752535c7b40971f3aaf495d1b7a910.zip dejagnu-8139152f1c752535c7b40971f3aaf495d1b7a910.tar.gz dejagnu-8139152f1c752535c7b40971f3aaf495d1b7a910.tar.bz2 |
Minor addition to OpenBSD prune warning.
-rw-r--r-- | lib/target.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/target.exp b/lib/target.exp index 5f20194..9beb7f7 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. -i 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 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 |