From: Mark Andrews Date: Tue, 6 Sep 2005 01:59:12 +0000 (+0000) Subject: handle copyright less xml X-Git-Tag: v9.4.0a1~32^2~18 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=797d71e5bfaae7cc93ee53907bb988741931928e;p=thirdparty%2Fbind9.git handle copyright less xml --- diff --git a/util/update_copyrights b/util/update_copyrights index d009fae1db1..446e45be747 100644 --- a/util/update_copyrights +++ b/util/update_copyrights @@ -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.40 2005/05/15 23:48:12 marka Exp $ +# $Id: update_copyrights,v 1.41 2005/09/06 01:59:12 marka Exp $ require 5.002; @@ -244,10 +244,15 @@ foreach $file (keys %file_types) { if (/^; - while (! /^; } + if (eof(SOURCE)) { + close(SOURCE); + next; + } } if (/^ if $_ eq "