This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit b6eae8668992878f8eba9478c30e663ba79d5549
Author: Dominique Dumont <d...@debian.org>
Date:   Fri May 8 18:39:30 2015 +0200

    Scanner: don't croak on utf8 encoding errors
---
 lib/Dpkg/Copyright/Scanner.pm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/Dpkg/Copyright/Scanner.pm b/lib/Dpkg/Copyright/Scanner.pm
index e0c7965..ed64c09 100644
--- a/lib/Dpkg/Copyright/Scanner.pm
+++ b/lib/Dpkg/Copyright/Scanner.pm
@@ -11,6 +11,8 @@ use Array::IntSpan;
 use feature qw/postderef signatures/;
 no warnings qw/experimental::postderef experimental::signatures/;
 
+binmode STDOUT, ':utf8';
+
 our @EXPORT = qw(scan_files print_copyright);
 
 my $whitespace_list_delimiter = $ENV{'whitespace_list_delimiter'} || "\n ";
@@ -85,7 +87,7 @@ sub scan_files ( %args ) {
     else {
         my $pipe = IO::Pipe->new();
         $pipe->reader("licensecheck --copyright -m -r .");
-        binmode($pipe, ":utf8");
+        binmode($pipe, ":encoding(UTF-8)");
         @lines = $pipe->getlines;
         $pipe->close;
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to