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: Wed, 27 Apr 2005 21:34:08 +0200 (CEST)

   Date: Tue, 22 Mar 2005 19:25:59 -0700
   From: Rob Savoye <address@hidden>

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

        * 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






reply via email to

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