[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.2.0-40-gd8f9e52



The following commit has been merged in the master branch:
commit fe9f6d4764bb603a8b370697d6f7fc7b97b944d5
Author: Raphael Geissert <atomo64@gmail.com>
Date:   Sat Jan 31 14:17:24 2009 -0600

    Use slurp_entire_file in checks/copyright-file

diff --git a/checks/copyright-file b/checks/copyright-file
index 32dfc92..db0814d 100644
--- a/checks/copyright-file
+++ b/checks/copyright-file
@@ -138,11 +138,7 @@ if ($line) {
 }
 
 # check contents of copyright file
-open(IN, '<', "copyright") or fail("cannot open copyright file copyright: $!");
-# gulp whole file
-local $/ = undef;
-$_ = <IN>;
-close(IN);
+$_ = slurp_entire_file('copyright');
 
 my $wrong_directory_detected = 0;
 

-- 
Debian package checker


Reply to: