danf: curl-www/auto log.cgi,1.34,1.35

[email protected]
Newsgroups gmane.comp.web.curl.www.cvs
Message-ID <[email protected]>
Update of /cvsroot/curl/curl-www/auto
In directory labb:/tmp/cvs-serv16404

Modified Files:
	log.cgi 
Log Message:
Highlight valgrind errors


Index: log.cgi
===================================================================
RCS file: /cvsroot/curl/curl-www/auto/log.cgi,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- log.cgi	18 Jul 2007 00:28:12 -0000	1.34
+++ log.cgi	26 Oct 2007 17:50:42 -0000	1.35
@@ -86,7 +86,9 @@
                 $line =~ s/([^a-zA-Z0-9:=_]{1}?)/sprintf("[%02X]",ord($1))/ge;
             }
             #
-            if(checkwarn($line) || ($line =~ /FAILED/) || ($line =~ /MEMORY FAILURE/) || ($line =~ / at .+ line \d+\./)) {
+            if(checkwarn($line) || ($line =~ /FAILED/) || 
+               ($line =~ /MEMORY FAILURE/) || ($line =~ / at .+ line \d+\./) ||
+               ($line =~ /valgrind ERROR/)) {
                 $num++;
                 push @out, "<a name=\"prob$num\"></a><div class=\"warning\">" . CGI::escapeHTML($line) . "</div>\n";
             }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.