dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Oops, proper OpenBSD warning pruning


From: Mark Kettenis
Subject: Re: Oops, proper OpenBSD warning pruning
Date: Tue, 22 Mar 2005 22:18:20 +0100 (CET)

   Date: Sun, 20 Mar 2005 14:38:38 -0700
   From: Rob Savoye <address@hidden>

   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  <address@hidden>

        * 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]