Commit 7d5dd6b5 authored by Mark Andrews's avatar Mark Andrews

handle files newer than 2004

parent 596912ee
......@@ -15,7 +15,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: update_copyrights,v 1.34 2005/05/12 00:28:04 marka Exp $
# $Id: update_copyrights,v 1.35 2005/05/12 02:26:51 marka Exp $
require 5.002;
......@@ -335,12 +335,12 @@ foreach $file (keys %file_types) {
#
# Internet Systems Consortium: 2004 onwards.
#
$last_year = 2004;
$anchor_year = 2004;
$years = "2004";
$last_year = 0;
$anchor_year = 0;
$years = "";
$anchor_end = length($years);
foreach $year (@years) {
if ($year < 2005) { next; }
if ($year < 2004) { next; }
if ($last_year != 0 && $year == $last_year + 1) {
if ($year > $anchor_year + 1) {
substr($years, $anchor_end) = "-$year";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment