Please ignore my previous patch. Thanks to a typo, I didn't notice it wasn't working. This one does, really!
Thanks, Mark Index: ChangeLog from Mark Kettenis <[EMAIL PROTECTED]> * lib/target.exp (prune_warnings): Add linker warning patterns for OpenBSD. Index: lib/target.exp =================================================================== RCS file: /cvsroot/dejagnu/dejagnu/lib/target.exp,v retrieving revision 1.16 diff -u -p -r1.16 target.exp --- lib/target.exp 21 Apr 2004 16:50:23 -0000 1.16 +++ lib/target.exp 20 Mar 2005 21:17:54 -0000 @@ -267,6 +267,9 @@ proc prune_warnings { text } { regsub -all "(^|\n)(\[^\n\]*:\[0-9\]+: warning: \[^\n\]* possibly used unsafely, use \[^\n\]*\n?)" $text "\\1" text regsub -all "(^|\n)(\[^\n\]*: warning: reference to compatibility glob\[^\n\]*\n?)" $text "\\1" text + # Or the OpenBSD ones. + 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. regsub -all "(^|\n)\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*is dangerous\[^\n\]*" $text "" text regsub -all "(^|\n)\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*the use of \[^\n\]* is dangerous, better use \[^\n\]*" $text "" text _______________________________________________ DejaGnu mailing list DejaGnu@gnu.org http://lists.gnu.org/mailman/listinfo/dejagnu