You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2012/11/06 09:27:58 UTC
svn commit: r1406069 -
/httpd/httpd/trunk/docs/log-message-tags/update-log-msg-tags
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 };
}