httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1406069 - /httpd/httpd/trunk/docs/log-message-tags/update-log-msg-tags
Date Tue, 06 Nov 2012 08:27:58 GMT
Author: sf
Date: Tue Nov  6 08:27:57 2012
New Revision: 1406069

URL: http://svn.apache.org/viewvc?rev=1406069&view=rev
Log:
try to catch up if docs/log-message-tags/next-number is out of date

doing two passes would be even better, will look at that later

Modified:
    httpd/httpd/trunk/docs/log-message-tags/update-log-msg-tags

Modified: httpd/httpd/trunk/docs/log-message-tags/update-log-msg-tags
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/log-message-tags/update-log-msg-tags?rev=1406069&r1=1406068&r2=1406069&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/log-message-tags/update-log-msg-tags (original)
+++ httpd/httpd/trunk/docs/log-message-tags/update-log-msg-tags Tue Nov  6 08:27:57 2012
@@ -127,6 +127,10 @@ sub note_tag
     if (exists $tags{$tag}) {
         print STDERR "WARNING: Duplicate tag $tag at $tags{$tag}->{file}:$tags{$tag}->{line}
and $file:$lineno\n";
     }
+    if ($tag >= $serial) {
+        print STDERR "WARNING: next-number $serial inconsistent with tag $tag at $file:$lineno,
adjusting\n";
+        $serial = $tag + 1;
+    }
     $tags{$tag} = { file => $file, line => $lineno, msg => $oneline };
 }
 



Mime
View raw message