Date: Sun, 20 Mar 2005 14:38:38 -0700
   From: Rob Savoye <[EMAIL PROTECTED]>

   Mark Kettenis wrote:
   > Please ignore my previous patch.  Thanks to a typo, I didn't notice it
   > wasn't working.  This one does, really!

      Are you sure ? I hope so, cause I just checked this in. :-)

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,

Mark


2005-03-22  Mark Kettenis  <[EMAIL PROTECTED]>

        * lib/target.exp (prune_warnings): Add another linker warning
        pattern for OpenBSD.


Index: lib/target.exp
===================================================================
RCS file: /cvsroot/dejagnu/dejagnu/lib/target.exp,v
retrieving revision 1.17
diff -u -p -r1.17 target.exp
--- lib/target.exp      20 Mar 2005 21:37:56 -0000      1.17
+++ lib/target.exp      22 Mar 2005 21:15:54 -0000
@@ -267,6 +267,7 @@ 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\]*: warning: \[^\n\]* is often misused, please 
use \[^\n\]*\n?)" $text "\\1" text
 
     # GNU ld warns about functions marked as dangerous in GNU libc.



_______________________________________________
DejaGnu mailing list
DejaGnu@gnu.org
http://lists.gnu.org/mailman/listinfo/dejagnu

Reply via email to