Date: Tue, 22 Mar 2005 19:25:59 -0700 From: Rob Savoye <[EMAIL PROTECTED]>
Mark Kettenis wrote: >Even though I was sure about that one, I just discovered there is >another pattern that should be caught. Here's a patch that adds the >missing one. > Thanks, I checked in the latest version. Did you really? Anyway, I discovered a few more cases. I'm pretty sure noew that I've got them all covered with this patch. It'd be great if you could apply this one too ;-). Thanks, Mark Index: ChangeLog from Mark Kettenis <[EMAIL PROTECTED]> * lib/target.exp (prune_warnings): Add a few more linker warning patterns for OpenBSD. Index: lib/target.exp =================================================================== RCS file: /cvsroot/dejagnu/dejagnu/lib/target.exp,v retrieving revision 1.19 diff -u -p -r1.19 target.exp --- lib/target.exp 29 Mar 2005 16:13:56 -0000 1.19 +++ lib/target.exp 27 Apr 2005 19:22:17 -0000 @@ -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 _______________________________________________ DejaGnu mailing list DejaGnu@gnu.org http://lists.gnu.org/mailman/listinfo/dejagnu