merge_copyrights revision dabea86dac4c01f852b7aea728f73b4f55a89d44
c869993e79c1eafbec61a56bf6cea848fe754c71xy# Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
c869993e79c1eafbec61a56bf6cea848fe754c71xy# Copyright (C) 1998-2001, 2003 Internet Software Consortium.
c869993e79c1eafbec61a56bf6cea848fe754c71xy# Permission to use, copy, modify, and distribute this software for any
c869993e79c1eafbec61a56bf6cea848fe754c71xy# purpose with or without fee is hereby granted, provided that the above
c869993e79c1eafbec61a56bf6cea848fe754c71xy# copyright notice and this permission notice appear in all copies.
c869993e79c1eafbec61a56bf6cea848fe754c71xy# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
c869993e79c1eafbec61a56bf6cea848fe754c71xy# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
c869993e79c1eafbec61a56bf6cea848fe754c71xy# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
c869993e79c1eafbec61a56bf6cea848fe754c71xy# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
c869993e79c1eafbec61a56bf6cea848fe754c71xy# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
c869993e79c1eafbec61a56bf6cea848fe754c71xy# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
c869993e79c1eafbec61a56bf6cea848fe754c71xy# PERFORMANCE OF THIS SOFTWARE.
c869993e79c1eafbec61a56bf6cea848fe754c71xy# $Id: merge_copyrights,v 1.19 2004/03/05 12:56:28 marka Exp $
c869993e79c1eafbec61a56bf6cea848fe754c71xyopen(COPYRIGHTS, "<util/copyrights") || die "can't open ./util/copyrights: $!";
c869993e79c1eafbec61a56bf6cea848fe754c71xy($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time());
c869993e79c1eafbec61a56bf6cea848fe754c71xyopen(FILES, "$find | sort |") || die "can't start \"$find\": $!";
c869993e79c1eafbec61a56bf6cea848fe754c71xy # Strip any .in extension to find out the file's real type.
c869993e79c1eafbec61a56bf6cea848fe754c71xy # .in files are processed by configure to produce the target file.
c869993e79c1eafbec61a56bf6cea848fe754c71xy ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,
fa25784ca4b51c206177d891a654f1d36a25d41fxy ($sec,$min,$hour,$mday,$mon,$c_year,$wday,$yday,$isdst) =
c869993e79c1eafbec61a56bf6cea848fe754c71xy ($sec,$min,$hour,$mday,$mon,$m_year,$wday,$yday,$isdst) =
c869993e79c1eafbec61a56bf6cea848fe754c71xy $dev = $ino = $mode = $nlink = $uid = $gid = $rdev = $size = 0;
c869993e79c1eafbec61a56bf6cea848fe754c71xy if (! defined($file_years{$_}) || $file_years{$_} eq "????") {
c869993e79c1eafbec61a56bf6cea848fe754c71xy ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,
c869993e79c1eafbec61a56bf6cea848fe754c71xy ($sec,$min,$hour,$mday,$mon,$m_year,$wday,$yday,$isdst) =