merge_copyrights revision ec5347e2c775f027573ce5648b910361aa926c01
# Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC") # Copyright (C) 1998-2001, 2003 Internet Software Consortium. # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. # $Id: merge_copyrights,v 1.29 2007/06/18 23:47:57 tbox Exp $ $find =
"find . -type f -print";
next if (m%/\.\# | # CVS old conflict file \.bak$ | # created by update_copyrights # Strip any .in extension to find out the file's real type. # .in files are processed by configure to produce the target file. # Contributed code should maintain its own copyright. } elsif ($base =~ /\.y$/) { ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime, print "$_: must set copyright year(s) manually\n"; # keep perl from issuing warnings about "used only once" print "$_: must set copyright year(s) manually\n"; # track the modification years even if we are not going to be # updating the copyrights. # next if $file_types{$_} eq "X"; ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime, die "can't open newcopyrights: $!";
for ($i = 0; $i < $tabs; $i++) {